After 3 loops presenting Humara loop made by Sir Farooq


<?php

echo "Loop Start <br>";
//0 is value of $S
//20 is value of $E
HLoop(0,20);
echo "<br>Loop End ";
//$S shows Starting point
//$E Ending point
function HLoop($S,$E)
{
 echo $S." |";
 if($S>=$E)
 {
 return 0;
 }
 else
 {
 $S++;//increament in $S
 HLoop($S,$E);//Again HLoop Called
 }

}
?>
Advertisements

It's Great To Hear From You

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s