|
mysqli_stmt::$param_countmysqli_stmt_param_countReturns the number of parameter for the given statement DescriptionObject oriented style int$mysqli_stmt->param_count;
Procedural style
int mysqli_stmt_param_count
( mysqli_stmt
$stmt
)Returns the number of parameter markers present in the prepared statement. Parameters
Return ValuesReturns an integer representing the number of parameters. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Statement has 2 markers. See Also
|