Step 1. Create Database "demo".Go through PHPMyAdmin and create database. After logging into your phpMyAdmin page.We will create a database named demo for our database. Step 2.
Connect MySql database using PHP in PDO with the following code: <?php define('DB_HOST', 'localhost'); // Host name
You can connect MySql database using PHP with the following code: <?php $con = mysqli_connect("localhost","root","","jtable"); if (mysqli_connect_errno())
PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor, that earlier stood for Personal Home Pages. PHP