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...

Read More

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...

Read More

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...

Read More

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...

Read More

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...

Read More

How to connect to MySQL database using PHP Example

Let's start with PHP and MySQ. The first thing to do is connect to the database MySQL, and try to get information on database tables on the page.

Read More

How to start coding in PHP with 'Hello world' - example

PHP is one of the most popular open-source and server-side scripting language. PHP is a powerful tool for making dynamic, interactive websites...

Read More

Try Exception handling in php with complete example

Exception handling is used to change the normal flow of the code execution if a specified error condition occurs. This condition is called an exception.

Read More

Case-insensitive replaceAll in Java : with example

How to replace case insensitive substrings in Java. Normally we replace string by any character or any special character or whatever we want...

Read More