Hi, I am searching for a PHP function that dynamically generates an XML file with data from a MySQL database. It should also update the database if the XML file is changed.
+1
A:
This link will help you ...
http://code.google.com/apis/maps/articles/phpsqlajax.html
Best of luck :)
Richa
2010-08-14 12:34:41
+1
A:
Sarfraz
2010-08-14 12:34:56
"Output mySQL data as XML with PHP" uses string concatenation to put the text content "into" the elements with no escaping etc. at all, not even mentioning the problem, zero points. "Create XML with MySQL and PHP" at least uses str_replace() to encode the basic xml entities. Still not something I would prefer as a tutorial but a little better. There _must_ be better tutorials out there.
VolkerK
2010-08-14 13:52:08
@VolkerK: You are right, I ended up with that with bit of research but I hope there is something better out there :)
Sarfraz
2010-08-14 13:58:03