The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
When I try to execute this query:
Code:
CREATE TABLE `ipalert` ('
. ' `ip` VARCHAR(20) NOT NULL, '
. ' `message` VARCHAR(255) NOT NULL, '
. ' `djname` VARCHAR(50) NOT NULL'
. ' )'
. ' TYPE = myisam';
Code:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ''
. ' `ip` VARCHAR(20) NOT NULL, '
. ' `messa
|
|
#2
|
|||
|
|||
|
Specify a default value when a column isn't null.
|
|
#3
|
||||
|
||||
|
i think it's because of th ' . ' in the query string...
|
|
#4
|
||||
|
||||
|
Thanks guys, I tried both of your suggestions and it works now.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|