![]() |
php to xml
Hi hope some one can help me out with this. Basically i need to transfer data from a php array to xml. The code in php works out the time of day and weekly program schedule . example at www.vikingradio.net can some one show me how i transfer this info to xml . Much appreciated with any help
ron note hope i got this code right this time to display correctly on forum Code:
<?php |
sorry admin cannot get inline for code. please explain how ron
|
I'm not sure I understand the question - but since you have PHP, you can write XML all day long if you want from that PHP script. You just need to come up with the right XML language, even if it means you invent that language.
About the only thing you'd need to add to your script (besides the XML language) is the following line: Code:
header("Content-type: application/xml"); |
| All times are GMT +1. The time now is 10:46 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.