PHP 手冊
上一頁 |  | 下一頁

# ociexecute

(PHP 3>= 3.0.4, PHP 4 , PHP 5)

ociexecute -- Execute a statement

## Description

bool ociexecute ( resource stmt [, int mode])

ociexecute() executes a previously parsed statement. (see ociparse()). The optional mode allows you to specify the execution-mode (default is OCI_COMMIT_ON_SUCCESS). If you don't want statements to be committed automatically specify OCI_DEFAULT as your mode.

> 備注: This function was renamed to oci_execute() after PHP >= 5.0.0. For downward compatibility ociexecute() can also be used. This is deprecated, however.

成功回傳`TRUE`失敗回傳`FALSE`。

上一頁 | 最開頭 | 下一頁
ocierror | 上一層 | ocifetch