Whats Wrong With This... [MYSQL]
#1

Hello,
Why this code is not creating tables?
pawn Код:
OnGamemode...
{
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
    mysql_query("CREATE TABLE IF NOT EXIST 'playerdata' ('User' VARCHAR(24), 'Password' VARCHAR(40), 'Cash' INT(20), 'Level' INT(20), 'EXP' INT(20), 'Rank' INT(20), 'TurfsCaptured' INT(20), 'TurfsLost' INT(20), 'Kills' INT(20), 'Deaths' INT(20), 'Score' INT(20), 'Muted' INT(20), 'Warnings' INT(20), 'Vip' INT(20), 'Classes' INT(20),'IP' VARCHAR(16) )");
    mysql_debug(1);
    return 1;
}
Looks fine, whats wrong?
Reply


Messages In This Thread
Whats Wrong With This... [MYSQL] - by Littlehelper - 26.07.2012, 16:14
Re: Whats Wrong With This... [MYSQL] - by Dan. - 26.07.2012, 16:19
Re: Whats Wrong With This... [MYSQL] - by Littlehelper - 26.07.2012, 16:30
Re: Whats Wrong With This... [MYSQL] - by Vince - 26.07.2012, 16:32
Re: Whats Wrong With This... [MYSQL] - by Misiur - 26.07.2012, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)