I am struggling to find out the syntactically correct way in which to add on more variables and rows to these statements:
/* WANT TO ADD ON FIVE MORE $_POST[''] */
if(isset($_POST['check_prof']) && $_POST['check_prof'] == 'checked') {
$check_prof = "checked";
}else{
$check_prof = "unchecked";
}
/* SAME HERE, WANT TO ADD THE OTHER FIVE IN HERE AS WELL */
$query = "UPDATE `Users` SET `check_prof` = '" . $check_prof . "' WHERE `id` = '" . $auth->id . "' LIMIT 1";
mysql_query($query,$connection);
$auth->refresh();
}