$strSQL10 = "SELECT * FROM address WHERE add_id ";
$objQuery10 = mysql_query($strSQL10);
$objResult10 = mysql_fetch_array($objQuery10);
$add_id1 = $objResult10['add_id'];
$strSQL6="INSERT INTO set (set_name,add_id)";
$strSQL6.="VALUE ('$objArr[13]','$add_id1')";
$error6 = mysql_query($strSQL6)or die(mysql_error());
แบบนี้อะครับ แล้วมันขึ้นError ว่า
Error
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 'set (set_name,add_id)VALUE ('DMK-P0001','')' at line 1