PHP - Displaying Records From MYSQL Database Using PHP
I have created index.php page to display the records from mysql Database using PHP.
First I have created connection with MYSQL Database using following statement $con = mysqli_connect('127.0.0.1','root','');
Then i have selected Database using mysqli_select_db('tutorial');
then have created sql SELECT query and stored it in a $sql variable
$sql = "SELECT * FROm person";
Then To execute the query i used mysqli_query('$con',$sql);
~-~~-~~~-~~-~
Please watch: "Registration Form In PHP adn MYSQL"
• Registration Form In PHP and MYSQL
~-~~-~~~-~~-~