Quote:
Originally Posted by Ski-Whiz
Is it me, but in the product you tell it to create "vbspell" tables, and you next tell it to remove the old "vbspell" tables?
PHP Code:
// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
word varchar(30) NOT NULL,
sound varchar(10) NOT NULL,
UNIQUE KEY word (word),
KEY sound (sound)
) TYPE=MyISAM");
// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "vbspell");
They are the same tables. I was wondering why I first got an error saying this table was already there.. So I removed it. Then when it installed, it never created it. Also the alternate way didn't install for me either at the time, as those SQL files insert data into the table it removed.
Not a biggie. I have it working now. Just a heads up. 
|
ROFL, i don't know who made this error, whether it was me or cynix2. What it was meant to do, was removed the old table, then create the new one, instead it went opposite!