HOME

Executes an SQL statement
Ovrimos SQL Functions
PHP Manual

ovrimos_exec

(PHP 4 >= 4.0.3, PHP 5 <= 5.0.5)

ovrimos_execExecutes an SQL statement

Description

int ovrimos_exec ( int $connection_id , string $query )

Executes an SQL statement (query or update) and returns a result identifier.

Parameters

connection_id

The Ovrimos connection identifier, returned by ovrimos_connect().

query

The SQL statement. Evidently, it should not contain parameters. Use ovrimos_prepare() for prepared statements.

Return Values

Returns the result identifier as an integer, or FALSE on error.

See Also


Ovrimos SQL Functions
PHP Manual