mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix syntax error in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197492 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
007a35f2f3
commit
50bfb00529
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.db2-fetch-array">
|
||||
<refnamediv>
|
||||
|
@ -73,9 +73,9 @@
|
|||
|
||||
$sql = "SELECT id, name, breed, weight FROM animals ORDER BY breed";
|
||||
$stmt = db2_prepare($conn, $sql);
|
||||
$result = db2_execute($stmt, $sql);
|
||||
$result = db2_execute($stmt);
|
||||
|
||||
while ($row = db2_fetch_array($result)) {
|
||||
while ($row = db2_fetch_array($stmt)) {
|
||||
printf ("%-5d %-16s %-32s %10s\n",
|
||||
$row[0], $row[1], $row[2], $row[3]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue