I'm trying to update the validated column on the table by comparing the 4 fields with the 4 variables
Here is sample code
$query1 = mysql_query("UPDATE tbl_grades_subj
SET activated01 = 1
WHERE grades_subject_code = '$hidden_subj1'
& grades_term = '$hidden_term1'
& section = 'hidden_sec1'
& grades_sy = 'hidden_sy1'")
or die(mysql_error());