HOME > PHP > PHP Forum > ปัญหาเดิม ๆ 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 '
ปัญหาเดิม ๆ 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 '
$stSQL = "update list_stu set check = check+1 , not_check = not_check-1 where name_ge = '$namege' and group_ge '$groupge' and add_stu = '$xuser'";
$obQuery = mysql_query($stSQL) or die(mysql_error() . '<br/>' . $stSQL);
แต่ว่ามันขึ้นว่า 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 'check = check+1 , not_check = not_check-1 where name_ge = 'ทดสอบระ' at line 1
update list_stu set check = check+1 , not_check = not_check-1 where name_ge = 'ทดสอบระบบ' and group_ge '101' and add_stu = '5111501150'