Home > PHP > Function > > ovrimos_exec()

ovrimos_exec()

ovrimos_exec - Executes an SQL statement

Syntax

int ovrimos_exec (int $connection_id, string $query)

Arguments

  • 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.

Description

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

Version

PHP 4.0.3, 5 <= 5.0.5

Return value

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