Home >Backend Development >PHP Tutorial >adb use adodb lite to solve problems

adb use adodb lite to solve problems

WBOY
WBOYOriginal
2016-07-29 08:35:551220browse

When I used the full version of adodb, the server didn't support it.
I almost wrote a class myself to implement the functions of adodb so that I didn't have to change my program
But now I use adodb-lite, which 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 , GetRows returns a two-dimensional array. If you only want one row of results, you want to copy the code like this

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

The above introduces the use of adb lite to solve adb problems, including adb content. I hope it will be helpful to friends who are interested in PHP tutorials.


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