ibase_num_params

(PHP 5, PHP 7)

ibase_num_paramsReturn the number of parameters in a prepared query

说明

ibase_num_params ( resource $query ) : int

This function returns the number of parameters in the prepared query specified by query. This is the number of binding arguments that must be present when calling ibase_execute().

参数

query

The prepared query handle.

返回值

Returns the number of parameters as an integer.

参见

  • ibase_prepare() - Prepare a query for later binding of parameter placeholders and execution
  • ibase_param_info() - Return information about a parameter in a prepared query

相关文章
php firebird/interbase 函数 return the number of rows that were affected by the previous queryphp firebird/interbase 函数 return blob length and other useful infophp firebird/interbase 函数 close a connection to an interbase databasephp firebird/interbase 函数 return an error codephp firebird/interbase 函数 return error messagesphp firebird/interbase 函数 execute a previously prepared queryphp firebird/interbase 函数 fetch a result row from a query as an associative arrayphp firebird/interbase 函数 free memory allocated by a prepared queryphp firebird/interbase 函数 free a result setphp firebird/interbase 函数 get the number of fields in a result setphp firebird/interbase 函数 return the number of parameters in a prepared queryphp firebird/interbase 函数 return information about a parameter in a prepared queryphp firebird/interbase 函数 prepare a query for later binding of parameter placeholders and executionphp firebird/interbase 函数 execute a query on an interbase databasephp firebird/interbase 函数 disconnect from the service managerphp informix 函数 returns the number of columns in the queryphp maxdb 函数 return the number of rows in statements result setphp mysql xdevapi 函数 bind prepared statement variables as parametersphp postgresql 函数 submits a request to create a prepared statement with the given parameters and waits for completionphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graph
关注编程学问公众号