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.
Eh! Wha! I can't INSERT this...
Moderator: General Moderators
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact: