
Hello and Welcome All.
In this video,I will walk you through the project we are going to make in this course. I will be explaining complete PHP CRUD we are going to perform.
In this we will see how to install Visual Studio Code editor to write PHP script.
Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control.
In this we will see how to install XAMPP control panel,to run our PHP script.
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.
Knowing the importance of index.php file and linking Bootstrap CSS link and checking for output.
We will see what all things should be started to run PHP script.
Creating basic Bootstrap form so that we can insert data into it and assigning all valid attributes to perform necessary validation for input fields.
Creating database and table in phpmyadmin dashboard using Graphical User Interface (GUI). We can create databse and table using CLI as well ,but in this course we will see how to create using GUI.
Whenever we want to perform any action inside the database using PHP script,first thing we have to do is connect to the database,only if are connected to database we can perform all this operation inside PHP.
In this we will see how to check for isset condition and perform insert operation by writing SQL insert query. We will see how to fetch input field data from form and send it to the database table.
In this we will check for the condition,if username and email already exist in the database ,that should not be inserted again into the database tables. This is just a basic validation to check for username and email.
As we all know how important is to maintain confidentaility of the user,so we are not going to store passwords in plain text,we will see how to do password hashing and store password hash inside database table.
As we have how to insert data into database tables,now we will see how to fetch that data from database table and display in our website table,so for that first we will create basic table so that we can display dynamic data from database tables.
We have created basic table structure ,now in this we will see how to write query to fetch all data from database table and display dynamic data into website table,and we will learn some new concepts and methods inside PHP.
We are going to create get variables and access particular record id from database and perform delete operation for that,so in this we are going to see how to perform delete operation and delete data of user from database tables.
Creating basic form for updating data and creating get variable for updating.
In this we will see how to write query to update data of database and display updated data into website table.
Fetching data from database table and displaying the data in form for updation.
Click on download icon or download button to delete source code and PDF of the code.
CRUD is an acronym for Create, Read, Update, and Delete.
We'll create a simple PHP application to perform all the above 4 operations using MySQL database.
Once you get to know this concept, then you can create PHP applications that perform all these operations.
What we will be using:
1)HTML
2)Bootstrap
3)PHP
** If you are a complete beginner and have no idea about PHP, then this is the project for you **
->You will learn this project completely from scratch.
->You will learn the procedure for installing the XAMPP control panel.
->You will learn how to create the database, how to connect to it and perform all these operations.
->You will learn how to add basic validation to the form.
->You will learn how to do password hashing and storing encrypted passwords inside the database table.
->You will learn how to check whether the same data is already present inside the database.
If you make this project, then you will find almost similar patterns in all the projects of PHP, this CRUD operation is
very useful for any beginner to get started with PHP projects.
->At the end of this project, you will be more confident in PHP CRUD operation and ready to make similar PHP applications.