odbc_prepare()
odbc_prepare - Prepares a statement for execution
Syntax
resource odbc_prepare (
resource $connection_id,
string $query_string)
Arguments
- connection_id - The ODBC connection identifier, see odbc_connect() for details.
- query_string - The query string statement being prepared.
Description
Prepares a statement for execution. The result identifier can be used later to execute the statement with odbc_execute().
Version
PHP 4, 5
Return value
Returns an ODBC result identifier if the SQL command was prepared successfully. Returns FALSE on error.