odbc_errormsg
odbc_execute
ODBC Functions (Unified)
PHP Manual

# odbc_exec

(PHP 4, PHP 5)

odbc_exec — Prepare and execute a SQL statement

### Description

resource odbc_exec ( resource `$connection_id` , string `$query_string` [, int `$flags` ] )

Sends an SQL statement to the database server.

### Parameters

`connection_id`

  The connection identifier.

`query_string`

  The SQL statement.

`flags`

### Return Values

Returns an ODBC result identifier if the SQL command was executed successfully, or `FALSE` on error.

### See Also

- odbc_prepare()
- odbc_execute()

odbc_errormsg
odbc_execute
ODBC Functions (Unified)
PHP Manual