04 February 2017

List of PHP ODBC functions

php logo

PHP ODBC functions allows you to connect to database such as Microsoft Access db

odbc_connect ( database_source_name, user , password, cursor _type)
Connecting to an ODBC or data source

odbc_exec( connection_id , query_string , flags )
execute given SQL statement.

odbc_fetch_row ( result_id , row_number )
Retrieving Records

odbc_result ( result_id , field )
Retrieving Fields from a Record

odbc_close (connection_id )
Closing an ODBC Connection

To know about other fuctions of odbc in php, visit PHP manual website

(If you found this article useful then share with your friends.)

No comments: