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.