php mysql PDO使用
原帖地址:http://blog.csdn.net/qq635785620/article/details/11284591扩展阅读:http://blog.csdn.net/leo115/article/details/7538983
1 建立连接
持久性链接PDO::ATTR_PERSISTENT=>true
2. 捕捉错误
3. 事务的
1. 使用 query()
2. 使用 prepare, bindParam和 execute [建议用,同时可以用添加、修改、删除]
3. 事务
页:
[1]