ADB uses ADODB Lite to solve problems

Source: Internet
Author: User
I use the ADODB full version of the time, the server unexpectedly does not support,
I almost wrote a class on my own, and I realized the ADODB function so that I didn't have to change my program.
But now I use the adodb-lite, this is a simplified version, good, 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 only one row results, so

Copy the Code code as follows:

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

The above describes the ADB using ADODB Lite to solve the problem, including the ADB content, I hope the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.