How do I put the value of an SimpleXMLElemen t Object into any array
If $title is SimpleXMLElemen t Object ( [0] =Mother )
how do I get "Mother" and put it in an array ? ;
if I echo $title, it says "Mother" but if I put it in an array
$myarray=array( $title);
the array is Array ( [0] =SimpleXMLEleme nt Object ( [0] =>
Mother ) )
I don't want that I want
Array ( [0] =>Mother) )
If $title is SimpleXMLElemen t Object ( [0] =Mother )
how do I get "Mother" and put it in an array ? ;
if I echo $title, it says "Mother" but if I put it in an array
$myarray=array( $title);
the array is Array ( [0] =SimpleXMLEleme nt Object ( [0] =>
Mother ) )
I don't want that I want
Array ( [0] =>Mother) )
Comment