unsigned int mysql_stmt_field_count(MYSQL_STMT
*stmt)
Description
Returns the number of columns for the most recent statement for
the statement handler. This value is zero for statements such as
INSERT
or
DELETE
that do not produce result
sets.
mysql_stmt_field_count()
can be
called after you have prepared a statement by invoking
mysql_stmt_prepare()
.
This function was added in MySQL 4.1.3.
Return Values
An unsigned integer representing the number of columns in a result set.
Errors
None.
User Comments
Add your own comment.