MySQL loop
#2

With an SQL statement (SELECT `Org` WHERE `Org` = '0' LIMIT 1 bla bla bla).

Then get the result's row count and if it's 0, then everyone's "Org" is set to 1.

Simple as that. Good luck!
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)