Loops in PHP

Loops in PHP loops are by far the most powerful component of php. aA 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

Data types in Mysql / Mariadb

Numeric Data Types: INT (Integer):  Int data type represents an integer of normal size. So simply it can used to store numeric value. There

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

The FOR Loop

PHP for loop can be used to traverse set of code for the specified number of times. For example if you want to repeat

Read more

Enjoy the tutorial? Please spread the word :)

Follow by Email