Results 1 to 4 of 4

Thread: Write XML via PHP form?

  1. #1

    Write XML via PHP form?

    Hey all,
    Kind of a beginner here and I just wondered...
    If I wanted to create an xml doc with one variable that I wanted to toggle, could I create a php page that could pull this value and then using toggle buttons, change the value in the xml doc. For example...

    I have a php page with two radio buttons and a submit button. The value of the xml doc is reflected by the appropriate filled radio button. When a user clicks the other button and hits "submit", the value is changed in the xml doc and the pages refreshes to show the new radio filled instead of the old. I hope that makes sense... what I'm trying to do is really simple. I just don't know if it's possible or how you'd do it.

    Thanks in advance for any help

  2. #2
    i don't know if you are working with a database? if you setup a database wich is working with your form then you can get a php file to write itself like xml

    http://www.kirupa.com/web/mysql_xml_php.htm

    i wrote a whole content management system like this.

    Forms will fill my database and the php file will be known as xml so i load in my flash website.

    Is this what you are looking after at?

  3. #3
    is there a way to keep a DB out? just a simple xml and php file

  4. #4

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012