The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What is wrong with this syntax?
I am trying to add a table called licences to my "demoforum" db.
The db is called demoforum I am using this code: Code:
CREATE TABLE IF NOT EXISTS `" . TABLE_PREFIX . `licenses` ( `id` int(6) NOT NULL auto_increment, `userid` int(6) NOT NULL, `productid` int(6) NOT NULL, `licensenum` varchar(250) NOT NULL, `dateline` varchar(10) NOT NULL, `status` int(1) NOT NULL, `url` varchar(250) NOT NULL, `title` varchar(250) NOT NULL, `description` text NOT NULL, `add_urls` text NOT NULL, `public` int(1) NOT NULL default '0', `upgrades` text NOT NULL, PRIMARY KEY (`id`) ) |
#2
|
||||
|
||||
Check the area where you have TABLE_PREFIX. Your quotes don't add up correctly.
|
#3
|
||||
|
||||
You can't actually run PHP code (you have used TABLE_PREFIX) in the Admin CP SQL Query executer.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|