Are there good tutorials on how to use PDO? [close

2019-01-02 20:16发布

Maybe someone did a tutorial that shows the important thing: Setting everything up and using it with MySQL?

标签: php pdo
4条回答
梦该遗忘
2楼-- · 2019-01-02 20:41
墨雨无痕
3楼-- · 2019-01-02 20:41

PHP.net has the best stuff. I would check out here for an example.

查看更多
皆成旧梦
4楼-- · 2019-01-02 21:02

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.

查看更多
荒废的爱情
5楼-- · 2019-01-02 21:08

I think the article Why you Should be using PHP's PDO for Database Access is great. It is simple, clear, and organized.

查看更多
登录 后发表回答