Re: OO newb question....query results from a class

From: Date: Tue, 11 Feb 2003 21:47:39 +0000
Subject: Re: OO newb question....query results from a class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135247@lists.php.net to get a copy of this message
> $userinfo = new user(); > echo $userinfo->get_signin(); > It just returns "Array"? How do I, for lack of a better word....get to > this array? Outside of a class it works great, I echo $rows['sign_in'] > and it works. But this! Help! > Many many thanks! Do this instead: $userArray = $userInfo->get_signin(); echo $userArray['sign_in']; Chris

« previous php.general (#135247) next »