Simple "Add Code" Script

Looking for volunteers to join your project? Need help with a script but can't afford to pay? Want to offer your services as a volunteer to build up your portfolio? This is the place for you...

Moderator: General Moderators

Post Reply
Pooptart
Forum Newbie
Posts: 2
Joined: Fri Apr 27, 2007 4:23 pm

Simple "Add Code" Script

Post by Pooptart »

Heres the layout of what im trying to do.

I go to a page, and on it it will have a form.
- Drop down of a certain Category
- Textbox to place in link to an SWF [or image]
- Textbox to put in a Name
- Textbox to put in a Number [usually 6 digits]

When I click the Submit button, it will add the information to a file (at the top, so it would be decending from date added), according to the Category chosen.
[Ex. Category "Hall Of Fame" adds to file "halloffame.xml"]
Im guessing XML is used for this kind of stuff.

Then when I go to a page, for example halloffame.php it will load my header.tpl, the body [where the xml would be], and the footer.tpl.

Problem is, I dont know any php on how to add information to a file, and I also dont know how to use XML.
So Any help is much appreciated.
Pooptart
Forum Newbie
Posts: 2
Joined: Fri Apr 27, 2007 4:23 pm

Post by Pooptart »

Bump.
Post Reply