Accessing Databases with ADODB
ADODB is a database wrapper library that simplifies many database-related tasks in PHP. The ADODB API is based on Microsoft ADO, a data access library used in Visual Basic and other Microsoft products. Although ADODB provides query helper functions such as PEAR DB, it also has functions that automate more complicated database tasks, such as turning a set of database rows into an HTML <select> menu or automatically paginating results. PEAR DB has a more rigorously defined object-oriented structure than ADODB. Because it’s a core part of the PEAR library, it integrates better with other PEAR modules than ADODB does. However, ADODB offers more advanced functionality than PEAR DB, especially with regard to HTML generation. Choosing ADODB over PEAR DB gives you more features but at the loss of some flexibility.
Unable to display preview. Download preview PDF.