09.12.2016, 06:18
Hello guys today i have decided to work on MySQL so i have start to convert my saving system to MySQL but i got some problems with saving i have created a table users and when i try to add more then 5 columns then data not getting saved i am confused please help me.
this code working perfectly and saving data
if i add 1 more column then its not getting saved.
table structure
this code working perfectly and saving data
PHP код:
format(query2 ,sizeof(query2), "INSERT INTO `users` (PN, PS, SC, MN, DT) VALUES ('%s', 'abc', %d, %d, %d)",
playername, GetPlayerScore(playerid), GetPlayerMoney(playerid), deaths[playerid]);
mysql_query(mysql, query2);
table structure