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

Loops in PHP

Loops in PHP Loops are by far the most powerful component of PHP. A loop is simply a set of statements repeated more than

Read more

Error Handling in PHP

Error handling is the process of catching errors from the program and then taking appropriate action. Before proceeding for error handling you should get

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

The While loop

A While loop is used when we have to repeat a set of statements as long as the condition is false. It could be

Read more

Switch Statements in PHP

Switch Statement in PHP The switch statement is similar to a series of if statements on the same expression. <?php $i=0; switch ($i) {

Read more

Enjoy the tutorial? Please spread the word :)

Follow by Email
Facebook
Facebook
Google+2k
Google+
http://hirdeshbhardwaj.com/tag/learn-php-in-gurgaon
YouTube43
YouTube