Jump to content

[SOLVED] while, do while


PC Nerd

Recommended Posts

um, can you use something like the following:

 

 

while(empty($Var_Name)) { DO STUFF}

 

 

???

 

the reason is that im selecting a random element from an array and puting it into another rarray, but if it isnt valid or doesnt select the element, then itll repeat

 

 

is this valid code?

 

 

thankc in advernce

 

Link to comment
https://forums.phpfreaks.com/topic/45821-solved-while-do-while/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.