12-15-2009, 10:11 AM
|
#2 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
There are a few ways to get code to repeat if a condition is not met, to name a few:
While, do while, for.
While:
PHP Code:
while($row=='no') { //do stuff if($endConditionMet) { $row = 'yes'; } }
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|