Query doesn't work properly
#8

Quote:
Originally Posted by Sc0pion
Посмотреть сообщение
I put: printf("Query: %s ]",query1);, printf("Query: %s ]",query2);, printf("Query: %s ]",query3); and so on after every mysql_query calls, below is what was printed, I think the codes don't work for a reason.

Код:
[connection] 192.168.1.2:64744 requests connection cookie.
[connection] incoming connection: 192.168.1.2:64744 id: 0
[join] Sc0pion has joined the server (0:192.168.1.2)
[part] Sc0pion has left the server (0:1)
If not printing, then the code is not getting called at all. Where have you placed them?

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
You must change '%d' to %d, I faced the same problem in past while using non-threaded queries

You should only put '' tags to strings, example '%s'

If this won't work check the mysql_log.txt file (if you enabled debugging messages) to see if you got any warnings/errors to your query
MySQL accepts both.
Reply


Messages In This Thread
Query doesn't work properly - by Sc0pion - 17.06.2016, 14:16
Re: Query doesn't work properly - by Konstantinos - 17.06.2016, 14:20
Re: Query doesn't work properly - by Sc0pion - 17.06.2016, 14:23
Re: Query doesn't work properly - by Konstantinos - 17.06.2016, 14:28
Re: Query doesn't work properly - by Sc0pion - 17.06.2016, 14:37
Re: Query doesn't work properly - by SecretBoss - 17.06.2016, 14:39
Re: Query doesn't work properly - by Sc0pion - 17.06.2016, 14:41
Re: Query doesn't work properly - by Konstantinos - 17.06.2016, 14:43
Re: Query doesn't work properly - by Sc0pion - 17.06.2016, 14:49
Re: Query doesn't work properly - by Konstantinos - 17.06.2016, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)