Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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
Posted

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.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...