Doc #9897 [Opn->Csd]: Example 34-4 comments wrong variable

From: Date: Sun, 21 Jan 2007 23:29:49 +0000
Subject: Doc #9897 [Opn->Csd]: Example 34-4 comments wrong variable
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9337@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=9897&edit=1 ID: 9897 Updated by: quipo@php.net Reported By: graeme at ijws dot com -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation PHP Version: Irrelevant -Assigned To: +Assigned To: quipo New Comment: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2007-01-21 11:59:56] graeme at ijws dot com Description: ------------ "Example 34-4. Fetching by number" code in the current online user documentation as of 2007-01-21 has the following comment and code that do not match (and may confuse newcomers): // Once you have a valid MDB2 object named $mdb2... if (!($row = $res->fetchRow(MDB2_FETCHMODE_ORDERED, $rowNum))) { Test script: --------------- // Either $mdb2 in the comment or $res in the code should be changed so they match ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=9897&edit=1

« previous php.pear.doc (#9337) next »