Porsche_maniak
Active Member
Hello guys,
I've object that I can var_dump and see its contents that way but I cannot understand how to read the values the right way.
This is the var_dump to the variable called $container and i got this:
[
How do I print the "id" value guys?
I tried
echo $container->id or $container["id"] , which is obviously far from the truth.
Any help?
Thanks
I've object that I can var_dump and see its contents that way but I cannot understand how to read the values the right way.
This is the var_dump to the variable called $container and i got this:
[
Code:
myobject Object ( [[B]id[/B]:myobject:private] => 56644 [[B]content[/B]:myobject:private] => thecontent
.......... and so on
How do I print the "id" value guys?
I tried
echo $container->id or $container["id"] , which is obviously far from the truth.
Any help?
Thanks