Fwd: Documentation error @pear.php.net

From: Date: Thu, 06 Nov 2003 11:21:51 +0000
Subject: Fwd: Documentation error @pear.php.net
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1881@lists.php.net to get a copy of this message
This is a forwarded message From: Erik Williamson <erik@cpsc.ucalgary.ca> To: cox@idecnet.com Date: Thursday, November 6, 2003, 5:18:39 AM Subject: Documentation error @pear.php.net ===8<==============Original message text=============== Hi Thomas, It's no show-stopper, but in this page: http://pear.php.net/manual/en/package.database.db.intro-fetch.php in the examples for getAll and getAssoc look like: $data = getAssoc('SELECT name, surname, phone FROM mytable') $data = getAll('SELECT id, text, date FROM mytable'); When I think it's meant to be: $data = $db->getAssoc('SELECT name, surname, phone FROM mytable') $data = $db->getAll('SELECT id, text, date FROM mytable'); To be in tune with the other examples. Thank you for everything that pear is. I'm just getting started with it, and absolutely love it. Thanks SO MUCH. Cheers, e. -- e r i k w i l l i a m s o n erik@cpsc.ucalgary.ca system admin . department of computer science . university of calgary ===8<===========End of original message text=========== -- Tomas V.V.Cox mailto:cox@idecnet.com

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