Simple Website with PHP and MySQL This repository contains the files for a simple website created using PHP and MySQL for database storage. This repository contains the files for a simple website created using PHP for the backend and MySQL for database storage. Follow the instructions below to set up and run the website on your system.
- XAMPP installed on your system.
- Basic understanding of PHP and MySQL.
-
Clone this repository to your local machine using the following command:
git clone https://github.com/your-username/your-repository.git
-
Move the cloned repository folder to the htdocs directory of your XAMPP installation.
-
Start the Apache and MySQL services using the XAMPP Control Panel.
-
Open your web browser and navigate to http://localhost/phpmyadmin.
-
Create a new database named simple_website.
-
Import the database.sql file located in the database folder into the simple_website database.
-
Update the database connection details in the config.php file located in the includes folder if necessary.
-
Open your web browser and navigate to http://localhost/your-repository.
- You can now use the website to perform CRUD operations on the database.
Feel free to contribute to this project by submitting pull requests.
This project is licensed under the MIT License.
Make sure to replace "your-username" and "your-repository" with your actual GitHub username and repository name. Additionally, customize any other details to match your project setup.