- For phpmyadmin, sql and apache.
- For database creation and manipulation
- For hosting website locally on your personal system
- Learn Sql queries for database manipulations
- Every file will be put into htdocs folder i.e.( C:\xampp\htdocs )
- Turn on apache and mysql from xammp control panel
- Create a database named as mydb
- Create 2 tables user(3 columns:id, name and password) and story(3 columns:id, title and description).
<?php
$servername = "localhost";
$dbusername = "root";
$password = "";
// Create connection
$conn = new mysqli($servername, $dbusername, $password);
?>
Username: rohit
Password: shakya
Copyright 2020-2021 Rohit Shakya.