Skip to content

Latest commit

 

History

History

v1.4 Fetch values from the database

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Install Xampp for project php

  • For phpmyadmin, sql and apache.
  • For database creation and manipulation
  • For hosting website locally on your personal system
  • Learn Sql queries for database manipulations

Default settings will be

  • Every file will be put into htdocs folder i.e.( C:\xampp\htdocs )
  • Turn on apache and mysql from xammp control panel
  • There will be 2 files one for html and one for php named as home1.html and home1.php respectively
    <?php
    $servername = "localhost";
    $dbusername = "root";
    $password = "";
    // Create connection
    $conn = new mysqli($servername, $dbusername, $password);
    ?>