Home > PHP > Function > Firebird/InterBase > ibase_execute()

ibase_execute()

ibase_execute - Execute a previously prepared query

Syntax

resource ibase_execute (resource $query, mixed $bind_arg, mixed $...)

Arguments

  • query - An InterBase query prepared by ibase_prepare().
  • bind_arg
  • ...

Description

Execute a query prepared by ibase_prepare().

Version

PHP 4, 5

Return value

If the query raises an error, returns FALSE. If it is successful and there is a (possibly empty) result set (such as with a SELECT query), returns a result identifier. If the query was successful and there were no results, returns TRUE.