"Jorge Infante Osorio." wrote: > I determinate the value of a variable in the botton of one page, and I want to use > it in the middle of the page, inside > a while structure, but I cant´n, inside the while structure I calculate the value of > this variable several times until I keep with the value that I want, the last....and > I want that in eache of the repetition used the final value of the variable to > display a result that I want.
Use a "break" statement after you determine that the value is right, this will break the flow of the programm out of the while loop. I hope I got your question right :8]. Something like: while { ... if (condition is TRUE) break; ... } -- Seks, seksić, seksolatki... news:pl.soc.seks.moderowana http://hyperreal.info { iWanToDie } WiNoNa ) ( http://szatanowskie-ladacznice.0-700.pl foReVeR( * ) Poznaj jej zwiewne kształty... http://www.opera.com 007 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php