PHP -Building Blocks

PHP -Building Blocks If –else statements if…else statement – executes set of codes if a condition is true and another code if the condition

Read more

A do-while loop

The do…while loop example: <?php $i = 1; Do { $i++; echo  $i . “<br>”; } while($i <= 3); ?> Output: 2 3 4

Read more

Enjoy the tutorial? Please spread the word :)

Follow by Email
Facebook
Facebook
Google+2k
Google+
http://hirdeshbhardwaj.com/tag/loops-in-php
YouTube49
YouTube