CodeIgniter Forums
using flash and xml slide show - 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: using flash and xml slide show (/showthread.php?tid=49705)



using flash and xml slide show - El Forum - 02-29-2012

[eluser]mohamed eid[/eluser]
hello all
can any one here explain how to use flash and xml slide show in codeigniter
i need to know how to put the the picture from database in the xml file


using flash and xml slide show - El Forum - 02-29-2012

[eluser]CroNiX[/eluser]
Personally I would avoid flash and try to use a HTML5 way.

But, you just grab what you need from the database and create an XML file using the results. There are some xml helpers in the wiki, or you can use phps native DOMDocument (or others). You just need to study the format of the xml that is needed and build a tree with your own data following that format.


using flash and xml slide show - El Forum - 02-29-2012

[eluser]mohamed eid[/eluser]
thanks for your replay
can you attatch an example here please


using flash and xml slide show - El Forum - 02-29-2012

[eluser]CroNiX[/eluser]
I'm sorry, this is a bit too complex for a quick example. There are a lot of tutorials on the net for using php to create xml files.
Here is one: http://www.ibm.com/developerworks/library/os-xmldomphp/