Php/docs/function.odbc-exec

来自菜鸟教程
跳转至:导航、​搜索

odbc_exec

(PHP 4, PHP 5, PHP 7)

odbc_execDirectly execute an SQL statement


说明

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

Sends an SQL statement to the database server.


参数

connection_id
ODBC 连接标识符,详见 odbc_connect()
query_string
The SQL statement.
flags
This parameter is currently not used.


返回值

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


参见