Hi Guys,
I'm facing this stupid problem if anybody could led a hand in it, I'm calling a function which returns some kind of complex data,
when dumping this data using var_dump, I get some thing like this
.
.
.
array(3) {
[0]=>
object(SimpleObject)#4 (1) {
["lang-en"]=>
string(15) "Text Comes Here"
}
.
.
.
The problem is that to access the vale of this thing you should have something like $da...[0]-> lang-en but lang-en is an invalid
variable name, so This is not a correct way to answer it, I need to access that variable, but I'm just missed up,
any ideas
--
Ala'a A. Ibrahim
http://www.alaa-ibrahim.info/
_______________________________________________ Jordan PHP Users Group http://php.jolug.org/ Php mailing list [email protected] http://mail.jolug.org/mailman/listinfo/php_jolug.org
