
01-05-2005, 02:12 PM
|
|
|
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Vixion
I am getting errors...
Code:
UPDATE `vb3_warning_options` SET version=\'3.0\' WHERE oid=1
MySQL retourneerde:
You have an error in your SQL syntax near '\'3.0\' WHERE oid=1' at line 1
and
Code:
CREATE TABLE `vb3_ban_dates` (
`banned_serno` int(15) NOT NULL auto_increment,
`banned_user` int(15) NOT NULL default \'0\',
`banned_ban` int(2) default \'0\',
`banned_warning` int(15) NOT NULL,
`banned_by` int(15) NOT NULL default \'0\',
`banned_dateline` int(15) NOT NULL default \'0\',
`banned_status` char(1),
`banned_reason` mediumtext,
PRIMARY KEY (`banned_serno`)
) TYPE=MyISAM
MySQL retourneerde:
You have an error in your SQL syntax near '\'0\',
`banned_ban` int(2) default \'0\',
`banned_warning` int(15) NOT NUL' at line 3
What can I do to solve this problem?
|
Why are you adding backslashes?
It would also help if I knew the error number that the database returned.
|