For Loop

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: For Loop

Post by egami » Wed Apr 11, 2012 4:27 am

that's bad syntax.

use a while loop and not a for loop..


while ($end !== TRUE) {
do this...
if ($var == "something") {
$end = TRUE;
} // kills the while..
}

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests