SimpleXML how to prepend a child in a node?

GamaDanikaty

New Member
When I call\[code\]addChild('actor', 'John Doe');\[/code\]this child is added in the last. Is there a way to make this new child a first child?
 
Back
Top