beginner in php and having a lot of trouble nailing down my syntax error for an update data query. Here is the query.
$sethere = "UPDATE `".$_currentclass."`
SET `".$_date."` = 1
WHERE studentid = `".$_idNum."`";
Error I'm getting just says "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use at line 1."
Should be noted that the SET line is changing a boolean value which defaults to 0, and I want to change it to 1. I've tried tons of different permutations with no luck. Any help would be much appreciated.