RE: [PEAR] undefined function error
| From: | Lukas Smith | Date: | Sun, 27 Apr 2003 16:06:02 +0000 |
| Subject: | RE: [PEAR] undefined function error | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5090@lists.php.net to get a copy of this message | ||
> From: Klaus Guenther [mailto:klaus@capitalfocus.org]
> Sent: Sunday, April 27, 2003 5:58 PM
> > $schueler = $db->getAll($query, DB_FETCHMODE_ASSOC);
>
> $schueler=$db->getAll($res, DB_FETCHMODE_ASSOC);
no you dont pass a resource to get* methods
all of these methods accept a query and automatically fetch the data for
you.
Regards,
Lukas