[MySQL] Input line too long
#3

Execute multiple queries or use strcat. But here's a tip: In MySQL you can set default values for nearly everything, even the registration date. When these are all set, the only thing you need to do is:

pawn Код:
format(query, sizeof(query), "INSERT INTO playerdata (user, password) VALUES ('%s', '%s')", pname, passwordstring);
Reply


Messages In This Thread
[MySQL] Input line too long - by Markx - 15.09.2011, 11:34
Re: [MySQL] Input line too long - by Mikkel_Pedersen - 15.09.2011, 11:46
Re: [MySQL] Input line too long - by Vince - 15.09.2011, 11:50
Re: [MySQL] Input line too long - by Markx - 15.09.2011, 11:50
Re: [MySQL] Input line too long - by System64 - 15.09.2011, 11:53
Re: [MySQL] Input line too long - by Markx - 15.09.2011, 11:59
Re: [MySQL] Input line too long - by [Diablo] - 15.09.2011, 12:02
Re: [MySQL] Input line too long - by MP2 - 15.09.2011, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)