|
PHP5中文手册
mysqli_stmt_store_resultmysqli_stmt->store_result()(PHP 5) mysqli_stmt->store_result() — Transfers a result set from a prepared statement 说明Procedural style:
bool mysqli_stmt_store_result
( mysqli_stmt $stmt
)
Object oriented style (method): mysqli_stmt
bool store_result
( void
)
You must call mysqli_stmt_store_result() for every query that successfully produces a result set (SELECT, SHOW, DESCRIBE, EXPLAIN), and only if you want to buffer the complete result set by the client, so that the subsequent mysqli_stmt_fetch() call returns buffered data.
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|