Home  >  Article  >  Backend Development  >  thinkphp3.1.2如何使用pdo?

thinkphp3.1.2如何使用pdo?

WBOY
WBOYOriginal
2016-06-06 20:18:441435browse

php.ini已经开启了pdo扩展,在tp的driver/db下也已经加入了dbpdo.class.php
然后应该怎么做?求详细描述

回复内容:

php.ini已经开启了pdo扩展,在tp的driver/db下也已经加入了dbpdo.class.php
然后应该怎么做?求详细描述

底层的数据库适配器貌似没有PDO 的,兼职升级到 3.2.3 吧,或者自己写一个PDO的适配器咯

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn