|
mysqli_stmt::$field_countmysqli_stmt_field_countReturns the number of columns in the given statement DescriptionObject-oriented style int$mysqli_stmt->field_count;
Procedural style
int mysqli_stmt_field_count(mysqli_stmt
$statement )Returns the number of columns in the prepared statement. Parameters
Return ValuesReturns an integer representing the number of columns. ExamplesExample #1 Object-oriented style
Example #2 Procedural style
The above examples will output something similar to: Value of column number 0 is France See Also
|