mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- documentation for new function mysqli-stmt-store-result
- minor fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153320 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
368c38958e
commit
4a0b532cdc
2 changed files with 18 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id="function.mysqli-stmt-store-result">
|
||||
<refnamediv>
|
||||
<refname>mysqli_stmt_store_result</refname>
|
||||
|
@ -75,6 +75,9 @@ if ($stmt = $mysqli->prepare($query)) {
|
|||
|
||||
printf("Number of rows: %d.\n", $stmt->num_rows);
|
||||
|
||||
/* free result */
|
||||
$stmt->free_result();
|
||||
|
||||
/* close statement */
|
||||
$stmt->close();
|
||||
}
|
||||
|
@ -110,6 +113,9 @@ if ($stmt = mysqli_prepare($link, $query)) {
|
|||
|
||||
printf("Number of rows: %d.\n", mysqli_stmt_num_rows($stmt));
|
||||
|
||||
/* free result */
|
||||
mysqli_stmt_free_result($stmt);
|
||||
|
||||
/* close statement */
|
||||
mysqli_stmt_close($stmt);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<reference id='ref.mysqli'>
|
||||
<title>Improved MySQL Extension</title>
|
||||
<titleabbrev>mysqli</titleabbrev>
|
||||
|
@ -137,6 +137,9 @@
|
|||
<listitem>
|
||||
<para><link linkend='function.mysqli-stat'>stat</link> - gets the current system status</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-stmt-init'>stmt_init</link>Initializes a statement for use with mysqli_stmt_prepare</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-store-result'>store_result</link> - transfers a resultset from last query</para>
|
||||
</listitem>
|
||||
|
@ -216,7 +219,13 @@
|
|||
<para><link linkend='function.mysqli-fetch'>fetch</link> - Fetches result from a prepared statement into bound variables</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-get-metadata'>get_metadata</link> - Retrieves a resultset from a prepared statement for metadata information</para>
|
||||
<para><link linkend='function.mysqli-stmt-free-result'>free_result</link> - Frees stored result memory for the given statement handle</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-stmt-result-metadata'>get_metadata</link> - Retrieves a resultset from a prepared statement for metadata information</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-stmt-prepare'>prepare</link> - prepares a SQL query</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link linkend='function.mysqli-send-long-data'>send_long_data</link> - Sends data in chunks</para>
|
||||
|
|
Loading…
Reference in a new issue