First the error that I am getting :
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option=2, emp_id=116702 WHERE id = 1' at line 1"
Second the code :
$emp = $_POST['emp'. $x];
$group = $_POST['group'...