Hello,
I've class that returns a 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