sstangle73 Posted October 7, 2007 Share Posted October 7, 2007 mysql_query("UPDATE image SET `Default` = '2' WHERE ID = '$ID' & IMG_ID = $olddid ") or die(mysql_error()); doesnt change Default to 2 leaved it at 1 $olddid is the right # same with $id Link to comment https://forums.phpfreaks.com/topic/72199-solved-ugh-dont-you-hate-when-things-dont-work/ Share on other sites More sharing options...
trq Posted October 7, 2007 Share Posted October 7, 2007 & should be && Link to comment https://forums.phpfreaks.com/topic/72199-solved-ugh-dont-you-hate-when-things-dont-work/#findComment-364081 Share on other sites More sharing options...
sstangle73 Posted October 7, 2007 Author Share Posted October 7, 2007 thanks Link to comment https://forums.phpfreaks.com/topic/72199-solved-ugh-dont-you-hate-when-things-dont-work/#findComment-364082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.