Hi. I need some way to generate an array that holds the same structure and data of a xml file.
Any ideas?
eelixduppy
2:09 am on Mar 8, 2007 (gmt 0)
If you have PHP 5 handy you can use SimpleXML [us2.php.net] which is very simple to use ;)
asantos
4:26 pm on Mar 8, 2007 (gmt 0)
Thanks... but I dont have PHP5 on the server. I must come up with a php4 solution.
Any ideas?
coopster
9:14 pm on Mar 8, 2007 (gmt 0)
Upgrade ;)
If you are going to do any serious XML work I think you are better off getting PHP5. If not, you are going to have to use the DOM XML Functions (deprecated) or the XML Parser Functions. I would seriously consider upgrading to PHP5 though.