mysql_stmt_param_count

mysql_stmt_param_count reports how many placeholder parameters a prepared statement contains, indicating the size of the MYSQL_BIND array required for binding.

Syntax

unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);

Description

Returns the number of parameter markers present in the prepared statement.

This function will not deliver a valid result until mysql_stmt_prepare() was called.

See Also

spinner

Last updated

Was this helpful?