Eh! Wha! I can't INSERT this...
Posted: Tue Oct 08, 2002 7:03 pm
Apparently I have this error..
You have an error in your SQL syntax near 'from, main) VALUES ('2', '09.10.2002', 'Si', 'Hello')' at line 1
..from this code..
mysql_query("INSERT INTO vforum (idnum, date, from, main) VALUES ('$thisid', '$thisdate', '$thisname', '$thistext')");
..and I know the connection to the database is ok because I have working mysql_querys before this line of code.
I can't see the problem and was wondering if anyone else could?
Thanks.
PS. The variables are all ok as well because I printed them to make sure they were there.. and they were.
You have an error in your SQL syntax near 'from, main) VALUES ('2', '09.10.2002', 'Si', 'Hello')' at line 1
..from this code..
mysql_query("INSERT INTO vforum (idnum, date, from, main) VALUES ('$thisid', '$thisdate', '$thisname', '$thistext')");
..and I know the connection to the database is ok because I have working mysql_querys before this line of code.
I can't see the problem and was wondering if anyone else could?
Thanks.
PS. The variables are all ok as well because I printed them to make sure they were there.. and they were.