Connecting to ODBC databases from PHP
These functions also work for accessing data in cloud applications from PHP, such as Mailchimp, Salesforce, Dynamics 365, BigCommerce, or QuickBooks.
- odbc_exec() function to execute an SQL statement;
- odbc_fetch_row() function to return records from the result set;
- odbc_result() function to read fields from a record;
- finally, odbc_close() function is used to close an ODBC connection.