Re: [PHP] Newbie: can't access a return value.

2009-08-01 Thread TG
Try: $records = $associacao_dao->listar($limit, $offset); -TG - Original Message - From: "MEM" To: Date: Sat, 1 Aug 2009 17:13:09 +0100 Subject: [PHP] Newbie: can't access a return value. > Hi all, > > When I do this: > $associacao_dao->listar($lim

[PHP] Newbie: can't access a return value.

2009-08-01 Thread MEM
Hi all, When I do this: $associacao_dao->listar($limit, $offset); I can var_dump the correct $limit. I can var_dump the correct $offset. I CAN'T access the object that I was hoping to get, called $records. After this, I was hoping to do var_dump($records); and see the stdClass object. Here