0% found this document useful (0 votes)
13 views7 pages

PHP CRUD Operations Guide

This document provides a step-by-step guide on how to run a sample CRUD application in PHP using XAMPP. It includes instructions for starting Apache and MySQL, importing a database, and accessing the application through a web browser. The process involves creating a database, importing a .sql or .zip file, and navigating to the local URL to check functionality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views7 pages

PHP CRUD Operations Guide

This document provides a step-by-step guide on how to run a sample CRUD application in PHP using XAMPP. It includes instructions for starting Apache and MySQL, importing a database, and accessing the application through a web browser. The process involves creating a database, importing a .sql or .zip file, and navigating to the local URL to check functionality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CRUD IN PHP (Create, Read, Update, Delete)

HOW TO RUN THE SAMPLE SOURCE CODE:

1. Start the Apache and MySQL in XAMPP Control Panel. Click the “Admin” in MySQL.

2. You will be redirected to the [Link]


3. To import the database (student_db), click and create ‘New’ database. Make sure that the new
database will be same as the database to be import. So, in my case, I have already the
‘student_db’ database.

4. Click ‘Import’ and choose the file of the database. The file should be in .sql or .zip format.
5. After choosing the file, just scroll down and click ‘Import’ button.
6. And done! After importing it should be like this. The database is imported successfully.

7. Copy the zip file in ‘Local Disk (C):/xampp/htdocs’.


8. Extract the files in ‘htdocs’.
9. After extracting the files, go to browser and type in the URL ‘localhost/crud’.
10. Then there you have it! Check if it is working.

You might also like