MySQL loop
#4

You can do this:

PHP код:
SELECT ((SELECT COUNT(*) FROM Player WHERE Org=1) = (SELECT COUNT(*) FROM Player)) AS ret
// After you send the query, fetch the value of "ret". 
I believe there are more optimized ways.
Reply


Messages In This Thread
MySQL loop - by saffierr - 15.05.2016, 20:13
Re: MySQL loop - by KevinReinke - 15.05.2016, 20:16
Re: MySQL loop - by saffierr - 15.05.2016, 20:41
Re: MySQL loop - by zPain - 15.05.2016, 20:57
Re: MySQL loop - by Konstantinos - 15.05.2016, 21:02
Re: MySQL loop - by Private200 - 15.05.2016, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)