
Install Brackets, an open source text editor, from its official site, run the installer, and open the editor to create simple code and pages for PHP and MySQL projects.
Learn how to download and install the XAMPP server on Windows and Linux, use the control panel to manage services, and access the htdocs directory for PHP and MySQL development.
Master PHP PDO MySQL basics by performing create, read, update, and delete operations with prepared statements, parameter binding, and a proper database connection.
Learn how to insert data into a MySQL database using PHP PDO, including building an HTML form, posting input, and using prepared statements with placeholders for secure inserts.
Learn to select data from the database with a prepared statement, execute, and fetch results to display all product records (id, name, price) in the browser using PHP PDO.
Learn how to select data from a database using PDO, fetch results as associative arrays or numeric indexes, retrieve a single record with various fetch methods, and display product data.
Learn how to read all rows with the PHP PDO fetchAll method. Compare it to loops and explore fetch modes, including associative arrays, objects, and class fetching.
Create an HTML table and display MySQL data with PHP PDO by running a select query, looping results, and rendering id, product name, and price with edit and delete controls.
Learn to implement a CRUD edit workflow in PHP with PDO and MySQL, using an edit button to update product name and price via a form.
Learn how to update data in a PHP PDO MySQL CRUD workflow using placeholders, id-based targeting, and input validation to prevent empty fields and SQL injections.
Learn to implement a delete feature in PHP with PDO for MySQL, wiring a delete button, using post to pass row id, and executing a delete query.
In this course, you will learn how to use PDO (PHP Data Objects) in PHP to perform operations on a database securely. We will be using the MySQL database in this class. But you can use other supported databases and almost all the code will be the same.
We will be using an Procedure approach to write the PHP code. So, you will even learn how to create a class, instantiate it and call the methods on the object.
For taking this course, it is would be great if you have the following prerequisites:
Basic knowledge of HTML and CSS
Although there are these prerequisites, I will explain each and every line of code that we are going to write. So, even if you are a complete beginner, you can join in. Just follow along and you will learn a lot.
After completing this course, you will be able to perform Insert, Delete, Update and Select operations on your database. This will help you in creating backend applications.
Some examples where you can use this knowledge are:
Creating a to-do application
Creating a blog
Creating a simple registration system
Creating contact form
And more…
I will you all the best. Keep learning and happy coding.
Who this course is for:
Beginner Web Developers
Beginner PHP Developers