thanks, the code you gave me did work, but now when i run the page again, i get this message
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/username/public_html/php_cart2/admin/add4_5.php on line 232
line 232 is the while statement that is above
while($products = mysql_fetch_array($results)){
it is regarding the same piece of code that has been posted above and that i am working with.
how should that error message be fixed?
can anyone please let me know whats wrong it and how to fix it?
thanks