xml reading - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: xml reading (/showthread.php?tid=12218) |
xml reading - El Forum - 10-10-2008 [eluser]dimis[/eluser] I have this xaml variable at my view Code: <?xml version="1.0" encoding="UTF-8" ?> xml reading - El Forum - 10-10-2008 [eluser]Dready[/eluser] Hello, if you're using PHP5 I strongly suggest you use the simpleXML feature. It will bring you something like : Code: // $xmldata contains what you posted xml reading - El Forum - 10-10-2008 [eluser]JoostV[/eluser] There is a class on phpclasses.org I used some time in the past. One file, does the trick. It converts your XML into a multidimensional array. Easy enough to convert into a CI library file. Download here |