21.03.2017, 18:53
There's no active cache when you check for the row count. You have to either use an non-threaded query (not recommended!) or use mysql_tquery - like you are already - and check if the row count is > 0 in the callback that you called with mysql_tquery. There not being an active cache leaves 'rows' with the value of 0, which in return makes the if-statement false.
By the way, your mysql logs should tell you what the issue is.
Same thing. Difference is that %e escapes the input and %s doesn't.
By the way, your mysql logs should tell you what the issue is.
Same thing. Difference is that %e escapes the input and %s doesn't.