[help]Mysql login problem
#3

Quote:
Originally Posted by Phaze
Посмотреть сообщение
Are you saving the results? The stock MySQL_Login(playerid) is designed to fetch the table information from MYSQL, however are you saving the tables properly? If so please show us the lines in that area.
mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
mysql_query("CREATE TABLE IF NOT EXISTS playerdata(user VARCHAR(24), password VARCHAR(40), IP VARCHAR(16), money INT(20), scores INT(30), adminlevel INT(10), helperlevel INT(10), kills INT(20), deaths INT(20), viplevel INT(10))");
mysql_query("CREATE TABLE IF NOT EXISTS bandata(admin VARCHAR(20), player VARCHAR(20), reason VARCHAR(50), IP VARCHAR(16), banned INT(10))");
mysql_query("CREATE TABLE IF NOT EXISTS vipdata(player VARCHAR(20), viplevel INT(10))");
mysql_debug();
CreateConfig();

Reply


Messages In This Thread
[help]Mysql login problem - by Okrs - 19.05.2015, 23:28
Re: [help]Mysql login problem - by Phaze - 20.05.2015, 06:46
Respuesta: Re: [help]Mysql login problem - by Okrs - 20.05.2015, 14:26
Re: [help]Mysql login problem - by Phaze - 20.05.2015, 17:56
Respuesta: Re: [help]Mysql login problem - by Okrs - 21.05.2015, 02:03

Forum Jump:


Users browsing this thread: 1 Guest(s)