PDA

View Full Version : Updateable news ticker



xearo
June 26th, 2006, 09:11 PM
Hello Guys

i am trying to find a PHP script that can take contents of a form an update a XML file.


i have created a flash newsticker (from the Kirupa.com tutorial) that reads a XML file to retreive its contents, now i am having trouble finding a PHP script to write to that XML file in the correct format, so that the news ticker can be updated automatically by anone who has access to that particular form

if anyone has any ideas i would greatly appreciate it

Best Regards

ZephyrWest
June 26th, 2006, 09:36 PM
Maybe this might help...

http://www.kirupa.com/forum/showthread.php?t=51044

xearo
June 26th, 2006, 10:34 PM
Maybe this might help...

http://www.kirupa.com/forum/showthread.php?t=51044

Thankyou ZephyrWest

im no coder unfortunatley, so this will sound dumb (i did check the other threads out but i am still way too unclear to get it working, sorry)

how do i get the PHP script pull the information from a form and format the info in a xml document in the following way


<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
- (http://www.kirupa.com/developer/mx2004/swf/news.xml#) <images>
- (http://www.kirupa.com/developer/mx2004/swf/news.xml#) <item>
<news>News Flash: Australia out of the world cup</news>

<url>http://www.fifa.com</url>

</item>


- (http://www.kirupa.com/developer/mx2004/swf/news.xml#) <item>
<news>Soccer Umpiring under review!</news>

<url>http://www.fifa.com</url>

</item>
</images>

- (http://www.kirupa.com/developer/mx2004/swf/news.xml#)




Sorry for having to repeat a similar thread, but i got not chance otherwise

if anyone can help i woulkd greatly appreciate it

Thankyou