$ObjectName->SearchResults[Results Index] -> whatever_name

From: Date: Tue, 09 Jul 2002 13:15:32 +0000
Subject: $ObjectName->SearchResults[Results Index] -> whatever_name
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1820@lists.php.net to get a copy of this message
Hello, I'm using PEAR DB libraries and have a Object property which is a copy from a query. Hence the format of the property $ObjectName->SearchResults[Results Index] -> whatever_name problem is I need to retrieve the values dynamically so I'm trying to put the statement together by changing 'whatever_name' with $key as shown below: $ObjectName->SearchResults[Results Index] -> $key I've tried using eval() but this does not seem to retrieve the object's property any ideas? Am I doing something wrong. Yours Alex

« previous php.pear.general (#1820) next »