
11-06-2004, 12:54 AM
|
 |
|
|
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
mysql error
need some help with this one, ive been tinkering and still cant get it to work>_<
Quote:
Originally Posted by server
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/commun...o=getmsgs&ch=1
Referer: http://www.animationation.net/community/chat.php
Username: Antonbomb22
|
query:
PHP Code:
$DB_site->query("INSERT INTO ".TABLE_PREFIX."chat_messages (channel_id,chatter,chatter_id,chat_msg,msg_dateline,receiver,msg_private) VALUES (".$msginsert['ch'].", '".addslashes($msginsert['chatter'])."', ".$msginsert['chatter_id'].", '".addslashes($msginsert['message'])."', ".TIMENOW.", ".$msginsert['receiver'].", ".$msginsert['private'].")");
|