if($_GET["Action"] == "Del")
{
$strSQL = "DELETE FROM project WHERE Project_ID=$ProID AND Student_ID = $StuID ";
$strSQL="UPDATE student SET Project_ID=0 WHERE Student_ID=$StuID";
$objQuery = mysql_query($strSQL);
if(!$objQuery)
{
echo "Error Delete [".mysql_error()."]";
}
}
ประมานนี้ แต่ยัง
Error Delete [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 '' at line 1]
Error Delete [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 '' at line 1]
ยังไม่ได้ ครับ