December 27th, 2012, 10:37 PM
Need help with a query
I'm not sure where I went wrong, but there's issues w/ the delete syntax. If someone could point it out I would appreciate it.
mysql_query("INSERT INTO `images` (imgID,imgName,imgURL,category,tag,userID)VALUES('$maxID','$imgname','$url','$results','$results','$results');
DELETE FROM `pending` WHERE `tempID` = '$results'") or die(mysql_error());
December 27th, 2012, 11:32 PM
I just ended up separating the two statements.