How to append a child dynamically

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hi friend's, i m new in both things php and in this group.
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 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


Quoted text here. Click to load it

Are you trying to solve this with php or javascript?  It sounds more  
like you are utilizing the dom through javascript to do this?  In php it  
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?

Mike Willbanks
Zend Certified Engineer

Re: How to append a child dynamically

yes i m using php 5.0.4 and DOM in php for create and save a xml file.

thanku for reply i need help.

Site Timeline