Re: Call to undefined function: fetchrow
| From: | Stefan Neufeind | Date: | Sun, 21 Mar 2004 22:08:02 +0000 |
| Subject: | Re: Call to undefined function: fetchrow | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11427@lists.php.net to get a copy of this message | ||
On 21 Mar 2004 at 23:02, Luc de Louw wrote:
> Stefan Neufeind wrote:
>
> > [..]
> >
> >Could you provide some info what worked before and does not work any
> >longer, what errors you get etc? I'm sure then we'll be able to help
> >you in a way ...
>
> Thanks for the fast response.
>
> what is actually not working again is: $row = $result4->fetchRow();
>
> I get the error message:
>
> Fatal error: Call to undefined function: fetchrow() in
> /srv/www/htdocs/web-cyradm-HEAD/lall.php on line 15
Please do a quick
var_dump($result4);
in your example and see if you get a correct result. Maybe you
already receive a PEAR_Error or something? If you don't get a result-
object back you surely won't be able to fetch a row. Just an idea ...
don't know if I'm on the right way :-))
If it's a PEAR error you get back the var_dump should contain a short
description what went wrong.
Good luck,
Stefan