Skip to content

Latest commit

 

History

History

v1.0 how to get values and made connection using php via php only

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 a single file named as home1.php
    <?php
    $servername = "localhost";
    $dbusername = "root";
    $password = "";
    // Create connection
    $conn = new mysqli($servername, $dbusername, $password);
    ?>