in reply to Re: do until loops
in thread do until loops
You can have a certain number of tries based on the number of values in the database:
$dbnumber=66; #This would be the number of usernames.
$value=1;
do{
#Your input line would go here, obviously not print value.
$value=$value+1;
} until($value==$dbnum); #This makes it stop after checking the last value in the database.
In Section
Tutorials