Re: A problem with Datagrid methods
| From: | Justin Patrin | Date: | Sun, 09 Sep 2007 23:14:06 +0000 |
| Subject: | Re: A problem with Datagrid methods | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27901@lists.php.net to get a copy of this message | ||
On 9/9/07, Michael Tadmor <miket22@gmail.com> wrote:
> Hi,
> i've encountred some problem using some of the datagrid methods such as:
> getRecordCount(),getCurrentRecordNumberEnd().
> for some reason, on some pages they return the number i need, on others I
> get weird values like :"Object id #19" or "Object id #20".
>
> is it a bug in datagrid? a php version problem? pear problem? browser
> problem?
>
You're probably getting a PEAR_Error object back. See:
http://pear.reversefold.com/dokuwiki/doku.php?id=pear:error_handling
--
Justin Patrin