Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How To Access a MySQL Database Using PDO

Share this post!
 Vote this!

This tutorial will show you how to access a mysql database using the PHP Data Objects interface, also known simply as PDO. One big advantage of using PDO versus other methods is the use of prepared statements which offers much better security than the mysql or mysqli libraries. Also PDO can connect to several different database systems by specifying another driver. It is almost as easy as switching the driver to change from one database system to another (except for DB specific SQL syntax).  more...

0 comments:

Post a Comment