Are there good tutorials on how to use PDO? [closed]
Maybe someone did a tutorial that shows the important thing: Setting everything up and using it with MySQL?
I think the article Why you Should be using PHP's PDO for Database Access is great. It is simple, clear, and organized.
MySQL.com: Using MySQL with PDO
PHP.net: PHP Data Objects (PDO)
PHP.net has the best stuff. I would check out here for an example.
Something I came across with PDO and BLOBs is that you can use that for encrypted data in MySQL. A good example of using BLOBs with encryption (so information in the database itself is encrypted) can be seen in:
Project mySQL PDO: Step by step guide to working with a mySQL database with the PDO to help eliminate SQL injection along with using encryption.