|
PHP5中文手册
mysqli_stmt_param_countstmt->param_count(No version information available, might be only in CVS) stmt->param_count — Returns the number of parameter for the given statement 说明Procedural style:
int mysqli_stmt_param_count
( mysqli_stmt $stmt
)
Object oriented style (property): mysqli_stmt
int$param_count;
Returns the number of parameter markers present in the prepared statement. 返回值Returns an integer representing the number of parameters. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|