PHP Data Objects

PDO is an interface for accessing databases using PHP. It allows you to access a variety of different databases depending on which driver is installed, and provides an easy way to query, retrieve results, prepare SQL statements. Created by phpacademy.

Recommended that you have a good foundation in PHP before taking this course.

Average Course Length

1 hour

Skill Level


Pick a lesson

1: Connecting (Part 1/8)
2: Getting results (Part 2/8)
3: Fetch types (Part 3/8)
4: Fetching into a class (Part 4/8)
5: Fetching all results (Part 5/8)
6: Prepared statements (Part 6/8)
7: Last inserted ID (Part 7/8)
8: Getting row count (Part 8/8)