PHP with PDO: Build a Basic Task List with PHP, PDO & MySQL

Learn and Understand PHP Database Objects (PDO), Build a Basic Task List with PHP, PDO, MYSQL and JQuery Ajax
4.8 (36 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
895 students enrolled
$19
$95
80% off
Take This Course
  • Lectures 24
  • Length 2.5 hours
  • Skill Level All Levels
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 5/2016 English Closed captions available

Course Description

LATEST COURSE ON PDO RELEASED ON 18/05/2016

This course teaches PHP Data Objects (PDO), one of the available API for connecting to databases within PHP. PDO is an object oriented extension which was introduced with PHP 5.1, taking advantage of several features introduced into PHP at that time.

In this step by step course both beginners and experienced web developers will gain a comprehensive understanding of the modern PDO extension and how it can be used to create scalable database driven application. 

This PHP with PDO course uses MySQL database to teach PDO concept and finally you learn how to build a basic task list using the concepts that has been taught in the course.

My Approach

In this course I use simple examples that can be easily understood to illustrate concepts and build upon it.

See What Students are saying

"This was perfect for my skill level as an advanced beginner to lower intermediate PHP developer. Terry wastes no time, and the whole course is packed with great information. I also really like the Material Design CSS and JS used in the course, since I had never used it before. I am very appreciative of this knowledge I gained, and plan to go through the whole thing again, and use it as a reference later." - Collin Stubblefield

"Managed to complete making a PDO tasklist! very helpful! the content is well put together! understood some core concept of PHP PDO! overall highly recommended! keep making more videos! If you can make a shopping cart! for tutorial basis! thanks!" -Brian Gichohi

"The instructor is clear and engaging also knowledgeable and passionate about the course. The course is well taught by the instructor" - Abimbola Makinwa

"Terry is a great teacher. He goes the extra mile to ensure student satisfaction. He even offers to remotely connect to your machine to help out if your code is not working the way it should. Thanks ever so much." - Sahid Camara

Timely Support!

If you ever encounter any problem why taking this course, don't worry I am always here to help and guide you through. Enroll today and get the skills and knowledge you need to succeed as a PHP developer. Every minute you let by is money and opportunity that are passing you by.

What are the requirements?

  • Already Setup PHP Development Environment running PHP 5.1 with a basic understanding of PHP Programming Language
  • Basic understanding of SQL Language (Every Query is well explained)
  • Little OOP knowledge will be nice but not required to follow along

What am I going to get from this course?

  • Build a Basic Task List with PDO, PHP and MySQL
  • Perform CRUD (Create, Read, Update and Delete) Operations with PDO
  • Protect any web application against SQL Injection
  • In depth understanding of PHP Data Object (PDO)
  • Dealing with Errors in PDO
  • Send Request via Ajax without page Refresh
  • Prompt support and value for your money

What is the target audience?

  • This PDO course is for anyone who is not familiar with PHP Data Objects database API and/or students looking for a quick refresher on PDO.
  • Want to learn and understand a multi platform database API
  • You want to migrate from MySQLi or MySQL to PDO
  • PHP Developers who want to learn how to use PDO for database driven application.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction to the course
02:54

I'll go over the broad topics we'll cover in the course, as well as the finish product of the system that we will develop in this course. I'll also covered what is required to take this course, target audience and the benefits that will be derived from taking this course.

04:46

In this lecture you will gain an introductory understanding of PHP Data Objects (PDO) and know why you should learn how to use it.

06:52

In this lecture you will learn how to create a PDO object and make a persistent connection to MySQL database with PHP. You will also gain an understanding of the PDO Class. 

07:15

In this lecture you will learn how to handle database connection errors with PDO.

07:16

In this lecture, we shall create the table that will be used in the next section.

5 questions

This quiz will test your knowledge based on the content of section 1

Section 2: Basic Crud Operations with PDO
03:57

In this lecture you will learn how to perform basic insert statement to create new record with PDO 

03:41

In this lecture you will learn how to retrieve record from database table using basic PDO select statement.

02:12

In this lecture you will learn how to update record in a database table using basic update statement with PDO.

01:42

In this lecture you will learn how to delete record from a database table using basic delete statement with PDO.

3 questions

This quiz will test your understand of the contents of section 2

Section 3: Security
08:17

In this lecture you will learn about PDO prepared statement use to protect against SQL injection and parameters. You will also learn how to use named and unnamed parameters.

04:30

In this lecture you will earn how to bind parameters to PDO prepared statement.

3 questions

This quiz will test your understand of the contents of section 3

Section 4: Some Useful PDO Methods
02:17

In this lecture you will learn how to quickly retrieve the unique identification number ID at the same time the record was created. This method works on all common database platforms that uses the auto increment feature or the equivalent.

03:06

In this lecture you will learn how to check the number of rows affected by a query. 

Section 5: Advanced PDO Features
09:34

In this lecture, you will learn how to take advantage of the transaction feature available is PDO, you will also learn how to check if your database supports transaction and how to change the storage engine for your database table.

07:59

In this lecture you will learn about some of the most useful data fetching modes available in PDO.

Article

Further Reading.

Section 6: Building a Basic Task List
07:25

in this video a I'll walk you through the project directory structure and general overview.

01:30

In this lecture we shall create a table to hold task information.

06:29

In this lecture, we prep the interface for create task, display task and style the message alert div.

14:24

In this lecture you will learn how to create a task using jQuery Ajax to send request to a PHP script for processing in order to avoid page refresh.

07:16

In this lecture you will learn how to display list of existing task using jQuery Ajax and PHP.

18:21

In this lecture you will learn how to update task details using jQuery Ajax to send request to a PHP script. You will learn how to make HTML elements editable, so that you don't need to create a separate form to edit a task, you simply click and start editing when you're done the request will be sent to PHP script for processing via Ajax.

07:02

In this lecture you will learn how to delete a task using jQuery Ajax to send request to a PHP script for processing to avoid page refresh.

02:38

In this lecture you'll learn how to check if a record was updated or not and display appropriate message. I also talk about validation and what to do if you need help.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Osayawe Terry Ogbemudia, Fullstack Developer at Visual Math Interactive Sdn. Bhd

Terry is a professional Computer Scientist, thoroughly skilled and experienced in Information Technology, Software Development and Web Programming.

He ventured into Software Programming and Database Administration in 2007. Terry holds an undergraduate degree in Software Engineering from University of East London, and is also a certified Oracle Database Professional (OCP).

Having a passion for teaching, he seizes every opportunity that he finds to impact into others. In 2008, he facilitated high-end trainings in Oracle Database, Linux Operating System, Oracle Financial 11i, and Web Design at KarRox and 2010 at NIIT.

He is the founder of Terdia Technology Solutions, an Information Technology Company, which provides integrated solutions that leverage Information Technology and knowledge of business processes.

Ready to start learning?
Take This Course