HappyPandaFace Posted April 2, 2007 Share Posted April 2, 2007 How would I make a line of code in php repeat while something == somethingelse? Link to comment https://forums.phpfreaks.com/topic/45219-a-repeating-command/ Share on other sites More sharing options...
trq Posted April 2, 2007 Share Posted April 2, 2007 <?php while ($something == $somethingelse) { // do whatever. } ?> Be careful you don't create an infinite loop though. Link to comment https://forums.phpfreaks.com/topic/45219-a-repeating-command/#findComment-219547 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.