-
PHP-MySQL problems
Hi,
I would like to create my own forum and I'm using this code to insert the nickname, message and date of posting into my database.
mysql_query('INSERT INTO "Database" [("IndexCol", "NicknameCol", "MessageCol"), "DateCol"] VALUES ("1", {$_POST["Nickname"]}, {$_POST["Message"]}, {date()})');
Someone explained me this but it doesn't work. I have no idea on how to fix this. Is there anyone who could help me?
(names were changed)
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks