MySQL Query returns null
#1

Hey!,

Somehow, the following returns always a big fat zero!

Code:
        new string[24+MAX_PLAYER_NAME];
		new rows = cache_get_row_count();
		format(string, sizeof(string), "Number of accounts: %d",rows);
    	SendClientMessageToAll(0xC4C4C4FF, string);
Don't go bonkers, I'm new to MySQL. I'm learning on the way.

Thanks,
Cheers.
Reply


Messages In This Thread
MySQL Query returns null - by SsHady - 24.11.2016, 15:08
Re: MySQL Query returns null - by Dayrion - 24.11.2016, 15:11
Re: MySQL Query returns null - by SsHady - 24.11.2016, 15:19
Re: MySQL Query returns null - by J0sh... - 24.11.2016, 15:23
Re: MySQL Query returns null - by Dayrion - 24.11.2016, 15:23
Re: MySQL Query returns null - by TwinkiDaBoss - 24.11.2016, 15:24
Re: MySQL Query returns null - by Vince - 24.11.2016, 15:43
Re: MySQL Query returns null - by SsHady - 25.11.2016, 09:58
Re: MySQL Query returns null - by Konstantinos - 25.11.2016, 11:33
Re: MySQL Query returns null - by SsHady - 25.11.2016, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)