Solve problems using adodb lite_PHP tutorial

WBOY
Release: 2016-07-21 15:58:56
Original
980 people have browsed it

When I used the full version of adodb, the server didn't support it.
I almost wrote a class myself to implement adodb's functions so that I didn't have to change my program
But now I use adodb-lite, this It is a simplified version, not bad, very good
http://www.80x86.cn/blog/attachments/month_200604/15%5F150215%5F07ycadodb%5Flite1%2E20%2Ezip

But there is no FetchRow function, you can use GetRows instead, but remember that GetRows returns a two-dimensional array. If you only want one row of results, it should be like this

Copy code The code is as follows :
$result = $rs->GetRows(1); //GetRows() ; is also ok
return $result[0]

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317522.htmlTechArticleWhen I used the full version of adodb, the server didn’t support it. I almost wrote a class myself to use adodb. Function implementation, so that I don’t have to change my program but now I use adodb-...
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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template