PHP Infinite Loops
Posted: Fri Nov 26, 2010 12:02 am
Hello everybody! I am new here, but I am not a noob..
Anyways I will show you an example on how to do loops in PHP ;)
Simply in the code where you need to loop something add:
Here is an example of looping echos:
Anyways I will show you an example on how to do loops in PHP ;)
Simply in the code where you need to loop something add:
Code: Select all
It's that simple! It's kind of like the 'while' statement.for (;;) {
//Code To Loop Here
}
Here is an example of looping echos:
Code: Select all
If you need any help please reply in this topic and I will try and help! cooll;for (;;) {
echo "\nLooping...\n";
}