Hello,
i'm working on a script which uses DOM fonctions of PHP5.
I've got a Node which looks like that :
<div>some text <a href="...">link </a><span> some text2</span></div>
When I use nodeValue, php returns "some text link some text2".
How can I get all childs of this node?
If you prefer, which method to use to get "<div>some text <a
href="...">link </a><span> some text2</span></div>" ?
Thanks a lot.
i'm working on a script which uses DOM fonctions of PHP5.
I've got a Node which looks like that :
<div>some text <a href="...">link </a><span> some text2</span></div>
When I use nodeValue, php returns "some text link some text2".
How can I get all childs of this node?
If you prefer, which method to use to get "<div>some text <a
href="...">link </a><span> some text2</span></div>" ?
Thanks a lot.
Comment