Maybe someone did a tutorial that shows the important thing: Setting everything up and using it with MySQL?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
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.
I think the article Why you Should be using PHP's PDO for Database Access is great. It is simple, clear, and organized.