PHP CRUD Tutorial with MySQL & Bootstrap 4 (Create, Read, Update, Delete)

PHP CRUD Tutorial with MySQL & Bootstrap 4 (Create, Read, Update, Delete)

Upgrade your Clever Techie learning experience:

UPDATE! (9/13/19) New features and improvements for Clever Techie Patreons:

1. Download full source code with detailed comments – easy to learn and understand code
2. Weekly source code file updates by Clever Techie – every time I learn new things about a topic I will add it to the source file and let you know about the update – keep up with the latest coding technologies
3. Library of custom Clever Techie functions with descriptive, easy to understand comments – skyrocket coding productivity, code more efficiently by using Clever library of custom re-usable functions
4. Syntax code summary – memorize and review previously learned code faster
4. Organized file structure – access all Clever Techie lessons, source code, graphics, diagrams and cheat sheet from a single workspace – no more searching around for previously covered material and source code – save enormous amount of time and effort
5. Outline of topics the source file covers – fast review of all previously learned coding lessons
6. Access to all full HD 1080p videos with no ads
7. Console input examples – interactive examples that make it easier to understand and learn coding
8. Access to updated PHP Programming Book by Clever Techie

Download this video’s source code and additional files here:

In this PHP CRUD Tutorial we’re going to create a fully functional PHP CRUD application with Bootstrap and MySQL. PHP CRUD stands for Create, Read, Update, Delete which is an easy way to memorize all the components needed for a fully dynamic web site application. We’re going to be using MySQL statements called INSERT, SELECT, UPDATE, and DELETE which correspond to CRUD functionality.

32 thoughts on “PHP CRUD Tutorial with MySQL & Bootstrap 4 (Create, Read, Update, Delete)

  1. Thanks for the video sir. I have a doubt sir. If we have thousands of records in the table, instead of displaying all records shall we search a record with a id num and display it in the form itself and set two buttons next and previous for moving to the next record or the previous one.

  2. Hey man, I hope you're doing good, just wanted to thank you for posting this amazing tutorial, it really has helped me a lot, cheers!


  4. Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, mysqli_result given in C:xampphtdocsBJDBBibliotheekPHPprocess.php:54 Stack trace: #0 C:xampphtdocsBJDBBibliotheekPHPcrud.php(14): require() #1 {main} thrown in C:xampphtdocsBJDBBibliotheekPHPprocess.php on line 54, late reaction to the video but i get this error and cant find a fix on the internet someone who can help me?

  5. good afternoon, thank you for your video , my name is Figo from Indonesia, I want to ask what support applications are you using in this video?

  6. when you push the button EDIT why it doesnt show the white screen? you dont have a header with location. so it must proceed to your script? it works like that for me so i dont get how to paste data into inputs. they are just empty

  7. what if one of my data are drop down (option select from an input) i get the message parameters must be an array or an object that implements countable… help i tried is_array ($result) or —- and —- with && the countable are being ignored… im new to php… (this is the GET function to edit database)

  8. $mysqli -> query("UPDATE data SET name=$name, location=$location WHERE id=$id ")or die(mysqli->error); this line doesn't work for me 🙁 here's the error:Uncaught Error: Undefined constant "mysqli" in

  9. Excellent work. I liked the way you put things in order and completed the List. Very good way of teaching! Thanks for sharing!

  10. After redirecting it is not showing danger alert on index.php danger alert showing on index.php?delete=id page. Tell me some solution for this problem.

  11. This is so amazing! Beautifully explained. 🙂 Something weird happened to me though: The success-alert worked but the danger one didn't .. until I deleted "header('location: index.php');" … it redirected automatically and I don't understand why … any ideas?

  12. can I ask why did you require the process.php before the action attribute. I understand why for the action attribute but why add it before also what will happen if you don't. Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *