Functions in PHP - how to use with complete example

PHP function is a piece of code that can be reused many times. PHP functions are similar to other programming languages.

How to get field name in mysqli using php with example

Suppose, you want to show all record of the database table and you don't know about the table detail like how much column and how much rows...

How to create MySql database connection in php example

Whenever you want to save some important data on database you must need a connection between your project to MySQL. The tutorial takes you through...

How to use session in php code - with complete example

PHP session is used to store information in a variable temporarily to be used across multiple pages. PHP session creates unique user id for each browser...

How to create multidimensional Array in php example

We know an array is a special variable, which can hold more than one value in one single variable. In PHP array can be used multiple types which...

How to combine or merge array in php - with example

Beginners have lots of confusion between array combine and array merge in PHP. So I just go through with this post to introduce the difference between...