Input line too long
#4

Just adjust your tables to have a default value of '0' for all your stats, money, score, ...
When registering, those values should be '0' anyway.
Then you only need to save the player's name and password, and perhaps a few others, like your timestamp and IP.
When inserting a new row into a column, MySQL automatically sets the fields to their default value you specified when you don't include them in your query.
Reply


Messages In This Thread
Input line too long - by Face9000 - 03.02.2014, 09:35
Re: Input line too long - by Konstantinos - 03.02.2014, 09:41
Re: Input line too long - by Face9000 - 03.02.2014, 09:43
Re: Input line too long - by PowerPC603 - 03.02.2014, 10:17
Re: Input line too long - by Face9000 - 03.02.2014, 10:31

Forum Jump:


Users browsing this thread: 3 Guest(s)