Home > php教程 > php手册 > body text

使用adodb lite解决问题

WBOY
Release: 2016-06-13 12:34:56
Original
863 people have browsed it

我使用adodb完整版的时候, 服务器竟然不支持,
我差点自己去写个类, 把adodb的函数实现,以致我不用改我的程序
但是现在我用了adodb-lite,这个是简化的版本,还不错,挺好的
http://www.80x86.cn/blog/attachments/month_200604/15%5F150215%5F07ycadodb%5Flite1%2E20%2Ezip

但是没有FetchRow函数, 可以使用GetRows代替, 但是要记住, GetRows返回的是二维的数组,如果只要一行结果, 要这样

复制代码 代码如下:

$result = $rs->GetRows(1); //GetRows() ; is also ok
return $result[0]

source:php.cn
Statement of this Website
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!