以前很长一段时间都用Pear db,但是随着php版本的升级,老的pear db已经不行了,
因为他不更新了,pear 的mdb2又没怎么研究,于是就自己写一个操作mysql的类在
用,普通的应用也还凑合吧。偶然看到这么个类,支持的数据库挺多的。于是记下来。
看下官方介绍:
ezSQL is an open source PHP database class that I wrote a while back. It’s used on over 100k websites and is the backbone of many open source projects such as WordPress. The class makes it ridiculously easy to use mySQL, Oracle8, SQLite (PHP), within your PHP script. Includes lots of examples making it very easy to understand how to work with databases. ezSQL has excellent debug functions making it lightning-fast to see what’s going on in your SQL code. ezSQL can dramatically decrease development time and in most cases will streamline your code and make things run faster.
下载地址:
------------正 文 已 结 束, 感 谢 您 的 阅 读 (折雨的天空)--------------------
转载请注明本文标题和链接:《ezSQL,php操作数据库的类》
发表评论