S smclof New Member Sep 20, 2012 #1 In \[code\]$val\[/code\] I am getting this value \[code\]SimpleXMLElement Object ( [0] => 464)\[/code\]. How do i put value at \[code\][0]\[/code\] i.e \[code\]464\[/code\] in $ a. I tried using foreach but its not working. Any help is appreciated.
In \[code\]$val\[/code\] I am getting this value \[code\]SimpleXMLElement Object ( [0] => 464)\[/code\]. How do i put value at \[code\][0]\[/code\] i.e \[code\]464\[/code\] in $ a. I tried using foreach but its not working. Any help is appreciated.