Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Running Queries on DB for store hack Details »»
Running Queries on DB for store hack
Version: , by digitalJE5U5 digitalJE5U5 is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-11-2002 Last Update: Never Installs: 0
 
No support by the author.

I gotta problem. I'm wanting to install the Store hack, and the FIRST instruction is to run a querie on the DB:
PHP Code:
CREATE TABLE store (
  id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,   
  action varchar(255) NOT NULL,
  title varchar(255) NOT NULL,
  costs varchar(255) NOT NULL,
  sold smallint(5) DEFAULT '0',
  imgurl varchar(255) NOT NULL,
  description varchar(255) NOT NULL,
  ok char(1) NOT NULL default '',
  quantity smallint(5) DEFAULT '0',
  PRIMARY KEY (id)
); 
and I keep getting the result:

MySQL said:

You have an error in your SQL syntax near '\'0\' NOT NULL auto_increment,
action varchar(255) NOT NULL,
title varc' at line 2

Any help?

Thanks alot!
/DJ

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:25 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.