mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
s/mysql_/mysqli_/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128386 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
eee8ead36d
commit
30acf9cc08
2 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.mysqli-affected-rows">
|
||||
<refnamediv>
|
||||
<refname>mysqli_affected_rows</refname>
|
||||
|
@ -65,7 +65,7 @@ Records deleted: 0
|
|||
<?php
|
||||
/* connect to database */
|
||||
mysqli_connect("localhost", "mysql_user", "mysql_password") or
|
||||
die("Could not connect: " . mysql_error());
|
||||
die("Could not connect: " . mysqli_error());
|
||||
mysqli_select_db("mydb");
|
||||
|
||||
/* Update records */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.mysqli-fetch-array">
|
||||
<refnamediv>
|
||||
<refname>mysqli_fetch_array</refname>
|
||||
|
@ -13,7 +13,7 @@
|
|||
<methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns an array that corresponds to the fetched row or FALSE if there are no more rows for the
|
||||
Returns an array that corresponds to the fetched row or &false; if there are no more rows for the
|
||||
database connection represented by the <parameter>link</parameter> parameter.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -60,7 +60,7 @@
|
|||
</programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>mysql_fetch_array with MYSQL_ASSOC</title>
|
||||
<title>mysqli_fetch_array with MYSQL_ASSOC</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -80,7 +80,7 @@
|
|||
</programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>mysql_fetch_array with MYSQL_BOTH</title>
|
||||
<title>mysqli_fetch_array with MYSQL_BOTH</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue