PHP Manual
Prev |  | Next

# odbc_prepare

odbc_prepare -- Prepares a statement for execution

## Description

`int odbc_prepare`(int connection_id, string query_string);

Returns `false` on error.

Returns an ODBC result identifier if the SQL command was prepared successfully. The result identifier can be used later to execute the statement with odbc_execute().

Prev | Home | Next
odbc_pconnect | Up | odbc_num_rows