Skip to main content

Posts

Showing posts with the label PDO

PHP PDO Tutorials in Urdu/Hindi

If you are using the traditional mysql_connect or mysqli_connect method for database connection then it’s time to move either to OOP (Object Oriented Programming) or PDO (PHP Data Object). Upon requests by my web development students, I’ve taken time to create some video tutorials on PDO in Urdu/Hindi. In the near future, I’ll create more tutorials on web development and especially on PHP. What’s PDO? 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 helpfu...