AN-net
11-06-2004, 12:54 AM
need some help with this one, ive been tinkering and still cant get it to work>_<
Database error in vBulletin 3.0.3:
Invalid SQL: INSERT INTO chat_messages (channel_id,chatter,chatter_id,chat_msg,msg_dateli ne,receiver,msg_private) VALUES (, '', , '', 1099709379, , )
mysql 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 ' '', , '', 1099709379, , )' at line 1
mysql error number: 1064
Date: Friday 05th of November 2004 09:49:39 PM
Script: http://www.animationation.net/community/chat.php?do=getmsgs&ch=1
Referer: http://www.animationation.net/community/chat.php
Username: Antonbomb22
query:
$DB_site->query("INSERT INTO ".TABLE_PREFIX."chat_messages (channel_id,chatter,chatter_id,chat_msg,msg_dateli ne,receiver,msg_private) VALUES (".$msginsert['ch'].", '".addslashes($msginsert['chatter'])."', ".$msginsert['chatter_id'].", '".addslashes($msginsert['message'])."', ".TIMENOW.", ".$msginsert['receiver'].", ".$msginsert['private'].")");
Database error in vBulletin 3.0.3:
Invalid SQL: INSERT INTO chat_messages (channel_id,chatter,chatter_id,chat_msg,msg_dateli ne,receiver,msg_private) VALUES (, '', , '', 1099709379, , )
mysql 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 ' '', , '', 1099709379, , )' at line 1
mysql error number: 1064
Date: Friday 05th of November 2004 09:49:39 PM
Script: http://www.animationation.net/community/chat.php?do=getmsgs&ch=1
Referer: http://www.animationation.net/community/chat.php
Username: Antonbomb22
query:
$DB_site->query("INSERT INTO ".TABLE_PREFIX."chat_messages (channel_id,chatter,chatter_id,chat_msg,msg_dateli ne,receiver,msg_private) VALUES (".$msginsert['ch'].", '".addslashes($msginsert['chatter'])."', ".$msginsert['chatter_id'].", '".addslashes($msginsert['message'])."', ".TIMENOW.", ".$msginsert['receiver'].", ".$msginsert['private'].")");