Dear Sirs:
I am using the Professional PHP Programming book and working in chapter 14
with an XML file. I have designed a program (PHP) where a user can fill
out a form and submit the info to a xml file. From there a PHP program
similar to the one from the book searches and displays the list of people
and their info. The problem is that I can't get the information into the
correct places in the XML file, because if loads the new entry after the
closing xml tag. If I code in the tag to my PHP code and manually remove
it from the XML document, then the program will work fine 1 time, then the
next person who enters data will mess it up because there will then be two
closing tags. Obviously, I must find a way to get the form info into the
XML file in the correct order (unlike a text file where it doesn't
matter). THe PHP program that a fashioned using the book works great to
display the data from the XML file when all the information is entered in
the correct spots in the xml.file, but of course when it is submitted sing
the form it is not correctly placed.
Please, if you can help me with this, let me know.I don't need to use a
relational database for this program...I just wanted to keep it basic.
Thank you;
Cullan Crothers
cullan.crothers@w...
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to pro_php as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_php-$subst('Recip.MemberIDChar')@p2p.wrox.com