fre, 2002-11-15 kl. 16:22 skrev Hacook: > I made a while loop and i'd like to know the comand to break it from inside. > Here is my script : > > while ($michou<=$maxFiles){ > /// My script //////// and ate the end : > if ($michou>$michoumax) { > break; > } > } > > But it doesnt work.... > Can i put 2 conditions in the while() command ? if yes, what is the > structure ? > Thanks, > hacook
'if/continue' instead of 'if/break'? I wondered what it was doing in alien code today, so I looked it up. Best, Tony -- Tony Earnshaw Cricketers are strange people. They wake up in October, only to find that their wives had left them in May. e-post: [EMAIL PROTECTED] www: http://www.billy.demon.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php