
Learn how prepared statements use a statement template with parameters, bind values at execution time, and improve security against SQL injections while reducing bandwidth.
Learn to set up a PHP project, create a MySQL database and an Aegis table, and establish a database connection with PDO and prepared statements.
Read data from a MySQL database using a PHP PDO prepared statement, binding a user_id parameter, executing the query, and printing the resulting row.
Learn to insert data into a MySQL database with PHP using prepared statements. Bind name, email, and password, execute the insert, and verify the result in a local admin panel.
Update each year by using a prepared statement in PHP with PDO, binding name, email, password, and id placeholders, then executing to apply changes in MySQL.
Delete data using a prepared statement in PHP with PDO, binding an integer user id and executing the delete operation, as part of mastering create, read, update, and delete workflows.
Create a new database and a users table with id, name, email, and password fields, then insert dummy users to illustrate basic setup.
Establish a database connection with PHP and PDO, and create a reusable component using includes to share the connection across index.php and helper files.
Add new user presents a form posted to index.php, validates name and email, binds parameters, and inserts data with a prepared statement and a default password into the database.
Demonstrates the danger of deleting a user via a get request with a visible id. Advocates post requests for deletions to improve security in the next lesson.
Learn to implement user deletion using a post request, with a hidden field carrying the user id and a form-based delete action on the index page.
Edit user functionality uses PHP, PDO, and MySQL to load and update user data. It handles get redirects, post submissions, and input validation with prepared statements and parameter binding.
Configure essential settings for a real world website using PHP, PDO, and MySQL. Manage extensions and database options, and open configuration files in a text reader to begin writing PHP.
Learn how PHP's PDO provides a flexible, object-oriented database abstraction layer for connecting to multiple databases, enhancing performance, security, and error handling.
Learn to set up a PDO connection by defining a MySQL DSN with localhost and a video database, create a users table, insert dummy data, and handle errors with try-catch.
Learn how to insert data into a database using PDO with prepared statements and named placeholders. Bind name, email, and password to the query and execute.
Learn how to update user data with PHP PDO by preparing an update statement, binding first name, email, password, and id, and executing it to modify records.
Learn to build the Tuscaloosa project with prepared statements and the PDO data object, download and extract test files into your ac docs folder, and explore index.php.
Learn to implement a user edit feature in PHP using PDO and MySQL, including form handling, GET/POST requests, prepared statements, and basic validation.
Create blog database tables for category and post, defining category_id, name, post_id, title, description, image, post_date, and status, using auto increment and default published.
Create reusable front-end components in PHP by organizing includes for header, footer, and navigation across index, category, and single pages.
Learn how to make navigation links dynamic with PHP, PDO, and MySQL by querying the categories table, fetching titles, and rendering them in a dynamic, header-included navigation.
Learn to render posts dynamically with PHP, PDO, and MySQL by querying the posts table to fetch title, description, image, date, author, and categories.
Learn how to implement url rewriting with mod_rewrite, using rewrite rules and regular expressions to map friendly urls to php scripts, manage conditions and query strings, and route blog pages.
Fetch and display a single post on a details page by using a get id parameter and a prepared query, then render title, description, image, date, author, and dynamic category.
Implement a simple single post check with conditional logic to count posts and display a no post found message when the post is missing.
Fix the php navigation by using localhost paths to reach the category page, updating the index.php navigation, and loading the category link from the home page.
Build a PHP, PDO, and MySQL powered search engine by posting a query, querying posts with a title like the key, and displaying results.
Build a paginated home page in PHP using PDO and MySQL by counting posts, setting posts per page, and applying limit and offset with a pager for navigation.
Develop a functional pagination system in a php, pdo, and mysql project, implementing next and previous controls, dynamic page links, and id-based article navigation.
Demonstrate building pagination for a search page in PHP with PDO and MySQL, including binding titles, post per page, and keys with wildcards.
Explore url rewriting to remove category parameters in PHP pages, improve category links, and ensure proper query handling for category pages.
Implement pagination for a category page using PHP and MySQL with PDO, constructing dynamic queries, limits, and post counts to display category posts efficiently.
Create a MySQL comments table and practice inserting, reading, and displaying comments with PHP and PDO. Learn counting comments, preparing and executing queries, and showing author and date.
Post specific comments by post ID, execute the comment insertion, and inspect the single post, its categories page, and blogs views on a local host.
Create reusable header and footer components in a PHP admin panel by building an includes folder and wiring header.php and footer.php across admin pages, including posts and categories management.
Master back end authentication by enforcing sign in to access the admin panel, using cookie-based checks, header redirects, and a users table with id, name, email, and password.
Create a new post by submitting title, content, image, and category, validate fields, upload the image, and insert the post into the database with a success message.
Implement a real-world edit post workflow in PHP with PDO and MySQL: fetch and prefill post data, handle GET/POST and file uploads, and update title, content, image, category, and status.
implement an edit post feature by copying and cutting code blocks, placing them below, and removing the post image as part of the update.
Learn to edit a post without changing its image by checking for an empty image field and updating the post image while binding the id.
Demonstrate building a delete post feature in PHP by submitting a post id, executing a delete from the database, and reloading the index page.
Learn to work with categories in a PHP, PDO & MySQL project by creating, editing, and validating category entries, handling inserts, updates, and user feedback with bootstrap alerts.
Demonstrates building a dynamic comment system in PHP with PDO and MySQL: mapping comments to posts, querying and counting, and enabling delete and update actions for accuracy.
Welcome to this course!
This is practical course. That mean you will not just learn prepared statements, PDO (PHP Data Object) but we will build project from complete scratch. Let's build awesome website with PHP and MySQL and let's learn how to build dynamic websites.
We will build a simple blogging website with (backend) CMS (Content Management System) using PDO, PHP and MySQL. You will learn how to build a dynamic website in practice.
What do I mean by task list?
I mean, we will be building a task list that would be a task(crud operation) with a list of users!
COURSE CONTENT:
Prepared Statements
Building Task List with Prepared statements
PDO PHP Data Object
Building Task List with PDO
Simple blogging website with little CMS
See you inside!