|
PHP5中文手册
maxdb_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 maxdb_stmt_param_count
( resource $stmt
)
Object oriented style (property): stmt
int$param_count;
maxdb_stmt_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 The above examples would produce the following output:
|