Chapter 24. ODBC Functions

ODBC functions provide a mechanism for almost universal access to databases. While PHP contains native functions for a whole range of databases, not all databases are able to have native functions written for them, or libraries may not exist for integration into PHP. ODBC relieves this problem.

For most users, exposure to ODBC is via the Windows interfaces when setting up access to their favorite Microsoft Access or Microsoft SQL Server database. For UNIX users, the situation is a bit more complex. A number of solutions exist, including support in PHP for iOBBC, Easysoft, and other vendors. Inclusion of other non-supported ODBC software is also provided. In most cases, some sort of bridging software is provided to ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.