469,266 Members | 1,803 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,266 developers. It's quick & easy.

Use php form to update xml file

57
Hi,
I'm sorta new to xml and php and was wondering if there's a simple way to build a php form that could edit (add/delete/change) elements in an xml file. Specifically for a band, so they could update their own tour schedule.

I would be building the tour page, with some javascript to load the xml file and display the tour dates, but I want to set something up so they could make the changes.

Any recommendations for tutorials or such?

Thanks in advance!

Sorry, this should probably go in the php forum.
Mar 31 '08 #1
4 11689
pronerd
392 Expert 256MB
I do not know that it would be that simple, but it could be done. To get specifics you would need to post your question in a forum for PHP topics.
Mar 31 '08 #2
jkmyoung
2,057 Expert 2GB
There are a couple modules in PHP that could fulfill your needs
http://www.php.net/manual/en/ref.domxml.php

You could also use XSLT, (in PHP?) but that might be overkill.

I'm not sure why you don't use javascript's DOM, plus an ActiveX component to save the xml.
Apr 1 '08 #3
omerbutt
638 512MB
@jkmyoung
jkmyoung
can you tell me how to save using xml cauz i would prefer using dom but havent used Activex before
Jun 2 '10 #4
jkmyoung
2,057 Expert 2GB
It depends on what xml module you're using in php.
Jun 3 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by phatnugs420 | last post: by
1 post views Thread by kyma via .NET 247 | last post: by
13 posts views Thread by Ioannis Vranos | last post: by
25 posts views Thread by Neo Geshel | last post: by
5 posts views Thread by eholz1 | last post: by
5 posts views Thread by keeps21 | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.