Re: [PHP] How to break a "while" loop ?

2002-11-15 Thread Tony Earnshaw
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

Re: [PHP] How to break a "while" loop ?

2002-11-15 Thread Ernest E Vogelsinger
At 16:22 15.11.2002, Hacook spoke out and said: [snip] >Hi all, >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

[PHP] How to break a "while" loop ?

2002-11-15 Thread Hacook
Hi all, 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