social_experiment wrote:kwh01 wrote:it inserted 2 rows at once. hmm. cannot figured it out why
How many subjects did you select?
perviously is two, but now i get some other error again = =
here is the query i trying to insert the subject number and student ID inserted
but now, no more inserted 2 row per once. it can insert into my table but show me this 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 '1' at line 1
and im trying to select 2 checkbox but it only insert the 1st record into table only