In simple words, PDO stands for PHP Data Object, and it’s an extension to formalise PHP’s database connections by creating a uniform interface. You can also say, it’s an Object included in the core libraries of PHP. PDO can be used to connect many database management servers such as SQL Lite, Oracle and Microsoft SQL Server.
What are the advantages of PDO?
There are many advantages of using PDO in PHP applications. The main advantage is that, it reduces the work-flow, because it’s a built-in API. Another advantage is that, it prevents SQL injections. And finally, it’s very easy and helpful to use with OOP and other popular frameworks.
PHP PDO Tutorials in Urdu/Hindi
In this video tutorials series, you’ll learn all the basic usage of PDO in PHP. You’ll learn creating database connection in PHP and then I’ll teach you the following database related tasks using PDO:
- Selecting data from a table
- Inserting data into a table
- Updating data in a table
- Deleting data from a table
And we’ll also take care of the error handling in PDO. Now for learning this all practically, you need to watch video tutorials below in Urdu/Hindi. This is a playlist from YouTube, you need to just play one video, and the next one will automatically start playing.
PDO Video Tutorials in Urdu/Hindi