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

PHP – Strings Functions

String functions are the most important functions frequently used in PHP. String is the sequence of characters, like “Let’s learn String functions”. There is

Read more

Working with Images – PHP

We need to create an HTML form that allows you to choose the file to be uploaded. Note: please make sure you have form

Read more

The do-while loop

Difference Between while and do…while Loop: With a while loop, the condition to be evaluated is tested at the beginning of each loop statement,

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

PHP -Building Blocks

If –else statements: if…else statement – executes set of codes if a condition is true and another code if the condition is false Within

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

PHP Superglobals

We already learned about variables, but there are some Readymade or predefined keywords in PHP that can be used without you having to create

Read more

Arrays in PHP

An array is a data structure that stores similar type of values in a common variable. Arrays are also called homogeneous data type. For

Read more