Create a Complete Dynamic and Fully Functional Website using PHP prrogramming language and MySQL Database.
- HTML5
- CSS3
- Core/Procedural PHP programming language
- MySQL Relational Database
- Download and Install XAMPP
- Install any Text Editor (Sublime Text or Visual Studio Code or Atom or Brackets)
- Download as as Zip or Clone this project
- Move this project to Root Directory
Local Disc C: -> xampp -> htdocs -> 'this project'
Local Disk C is the location where xampp was installed
-
Open XAMPP Control Panel and Start 'Apache' and 'MySQL'
-
Import Database
a. Open 'phpmyadmin' in your browser b. Create a Database c. Import the SQL file provided with this project
- Make Changes to settings
Go to 'config' folder and Open 'constants.php' file. Then make changes on following constants
<?php
//Start Session
session_start();
//Create Constants to Store Non Repeating Values
define('SITEURL', 'http://localhost/symphony/'); //Update the home URL of the project if you have changed port number or it's live on server
define('LOCALHOST', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'symphony');
$conn = mysqli_connect(LOCALHOST, DB_USERNAME, DB_PASSWORD) or die(mysqli_error()); //Database Connection
$db_select = mysqli_select_db($conn, DB_NAME) or die(mysqli_error()); //Selecting Database
?>
-
Now, Open the project in your browser. It should run perfectly.
-
Add the following sales persons: Kiran, Benjamin, Fridah, Bethuel, Sherpard