mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Typos in examples (bug #36617)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208820 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c621e11b29
commit
bf6fe12612
3 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.maxdb-fetch-object">
|
||||
<refnamediv>
|
||||
<refname>maxdb_fetch_object</refname>
|
||||
|
@ -94,7 +94,7 @@ $query = "SELECT name, state FROM hotel.city ORDER by zip";
|
|||
|
||||
if ($result = maxdb_query($link, $query)) {
|
||||
|
||||
/* fetch associative array */
|
||||
/* fetch object array */
|
||||
while ($obj = maxdb_fetch_object($result)) {
|
||||
printf ("%s (%s)\n", $obj->NAME, $obj->STATE);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.maxdb-fetch-row">
|
||||
<refnamediv>
|
||||
<refname>maxdb_fetch_row</refname>
|
||||
|
@ -68,7 +68,7 @@ $query = "SELECT name, state FROM hotel.city ORDER by zip";
|
|||
|
||||
if ($result = $maxdb->query($query)) {
|
||||
|
||||
/* fetch object array */
|
||||
/* fetch enumerated array */
|
||||
while ($row = $result->fetch_row()) {
|
||||
printf ("%s (%s)\n", $row[0], $row[1]);
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ $query = "SELECT name, state FROM hotel.city ORDER by zip";
|
|||
|
||||
if ($result = maxdb_query($link, $query)) {
|
||||
|
||||
/* fetch associative array */
|
||||
/* fetch enumerated array */
|
||||
while ($row = maxdb_fetch_row($result)) {
|
||||
printf ("%s (%s)\n", $row[0], $row[1]);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.maxdb-stmt-data-seek">
|
||||
<refnamediv>
|
||||
<refname>maxdb_stmt_data_seek</refname>
|
||||
|
@ -114,7 +114,7 @@ if ($stmt = maxdb_prepare($link, $query)) {
|
|||
/* store result */
|
||||
maxdb_stmt_store_result($stmt);
|
||||
|
||||
/* seek to row no. 400 */
|
||||
/* seek to row no. 5 */
|
||||
maxdb_stmt_data_seek($stmt, 5);
|
||||
|
||||
/* fetch values */
|
||||
|
|
Loading…
Reference in a new issue