I’m not completely sure what I’m doing wrong here I’ve looked through again and again for incorrectly placed quotes but I cannot for the life of me get this UPDATE query code to work… and I’ve troubleshooted it down to the query itself and it gives an incorrect syntax error, yet I have no idea what is wrong with it as it is identical to the manual.
$change = mysql_query("UPDATE Images SET Group='$group' WHERE ID = '$imgid'") or
die(mysql_error());
you might need to do :
as group is a keyword in MySQL .