Super8Man Posted March 13, 2006 Posted March 13, 2006 Hi, who could help me. I just installed the Three images with admin contribution but get the following error when i want to change or add an item in my admin : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Websites\andere\www.hetpoppenhuisje.be\catalog\admin\includes\functions\database.php on line 99 Quote
Super8Man Posted March 13, 2006 Author Posted March 13, 2006 I still have the error but also just thought of another problem. How do you remove images from an item? As far as i can see this isn't possible. Thanks for your time. Quote
Super8Man Posted March 20, 2006 Author Posted March 20, 2006 I have tried all kind of things but i don't find a way to be abble to remove the images. My last try was to add a checkbox to every images (in the article admin) that if checked remove the image. But i don't know how or where to write the query to do this. this is my last try (that doesn't work), i added it after the insert query of all admin fields : if ($_POST['del_img3'] == "del") {mysql_query('update products set products_image_large=0 where products_image_large = "' .$_POST['products_image_large'] . '"');} What do i do wrong or what should i do else. All help is much appreciated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.