Forum Moderators: coopster
$putitems = mysql_query("INSERT INTO cart (UserID,Item,Manufacturer,Model,Price) VALUES ('$userinfo','$additem','$addproducts[manufacturer]','$addproducts[model]','$addproducts[price]')");
...which works fine but I want to also add the product description, so I do this...
$putitems = mysql_query("INSERT INTO cart (UserID,Item,Manufacturer,Model,Desc,Price) VALUES ('$userinfo','$additem','$addproducts[manufacturer]','$addproducts[model]','$addproducts[briefdesc]','$addproducts[price]')");
...and it refuses to insert the record at all. Does anyone have any suggestions as to why this is happening? I'm hoping it's a foolish syntax error but I just can't spot it.
Helen.