Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


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


    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


Copyright 1999 - 2012