Ora_Do

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

Ora_Do -- Parse, Exec, Fetch

Description

int ora_do (int conn, string query)

This function is quick combination of ora_parse(), ora_exec() and ora_fetch(). It will parse and execute a statement, then fetch the first result row.

Returns TRUE on success, FALSE on error. Details about the error can be retrieved using the ora_error() and ora_errorcode() functions.

See also ora_parse(),ora_exec(), and ora_fetch().