Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to append a child dynamically
October 20, 2005, 11:22 am
rate this thread
but i have some basic knowledge of php and DOM in php.
here is my problem,
i have one textfield for add a new main node (not main like:
<root><this_one></this_one></root>) in my php page and i m able to save
the xml file correct with this, and in the bottom of that i have one
new textfield for add new child in dynamically create node (which i
descibe above),and one combo box for show the all dynamically create
nodes.now i want that when user give the value in child textfield and
then select a root node for that child from combo box.i want to append
a child dynamically to root node.
but i m not able to do this. plz try to solve my prob...
Re: How to append a child dynamically
depends on which extension you are using, so if you could fill us in on
that it would be great. Also which php version are you using?
Zend Certified Engineer