> echo "$test[1]->variable";
Get rid of the quotes, they are useless and just confuse the parser.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
I can't seem to figure out the correct syntax of acessing an array of
objects with creating a temp. variable... Is there a workaround for not
creating it, or do I just need to deal with using $tempvar = $test[1];
$tempvar->variable?
here is an example of code
// Start Code Snipet:
for ($i = 0;$i
2 matches
Mail list logo