MySQL Insert Query Problem
#8

Quote:
Originally Posted by BaubaS
Посмотреть сообщение
That's because your query string lenght is too small.. Make it begger
Well you are right. Size of Query String was 50 and string was like 70+. Anyway, When i add 1 more column/parameter, 1000 or '1000', it stops working. I dont get any error in debug.txt but it wont just store the result in table.

I've tried:

Код:
format(query,sizeof(query),"INSERT INTO `Users` (Username,Password,Money) VALUES ('%s','%s','1000')",pName,pass);
and this:

Код:
format(query,sizeof(query),"INSERT INTO `Users` (Username,Password,Money) VALUES ('%s','%s',1000)",pName,pass);
Reply


Messages In This Thread
MySQL Insert Query Problem - by Minion - 16.07.2012, 07:48
Re: MySQL Insert Query Problem - by Ballu Miaa - 16.07.2012, 07:51
Re: MySQL Insert Query Problem - by Minion - 16.07.2012, 07:54
Re: MySQL Insert Query Problem - by BaubaS - 16.07.2012, 07:56
Re: MySQL Insert Query Problem - by Ballu Miaa - 16.07.2012, 07:56
Re: MySQL Insert Query Problem - by Minion - 16.07.2012, 08:00
Re: MySQL Insert Query Problem - by BaubaS - 16.07.2012, 08:03
Re: MySQL Insert Query Problem - by Minion - 16.07.2012, 08:23
Re: MySQL Insert Query Problem - by BaubaS - 16.07.2012, 08:26
Re: MySQL Insert Query Problem - by Minion - 16.07.2012, 08:29

Forum Jump:


Users browsing this thread: 2 Guest(s)