xml and php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
firestar_lene
Forum Newbie
Posts: 10
Joined: Mon Mar 29, 2004 2:04 am

xml and php

Post by firestar_lene »

i want to have form for user to enter data.after they have enter the data,the data is stored in xml file

how to write coding in php to insert data into xml file?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[php_man]domxml[/php_man]
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

If you're appending to the end or beginning of an XML file and don't need to adjust values within it then a couple of file system functions ([php_man]fopen[/php_man](), [php_man]fwrite[/php_man](), [php_man]fclose[/php_man]()) would suffice.

Mac
Post Reply