by Shashi Dhar Kumar | Apr 22, 2013 | MySQL, PHP, Programming
There are a couple of ways to export data from MySQL to a XML file. This post looks at how to export the data from MySQL into a XML file with PHP. The example code below uses the raw mysql_* functions but it should be easy enough to substitute a database...
by Shashi Dhar Kumar | Sep 4, 2009 | PHP, Project
This chapter explains how to display XML data as HTML. In the example below, we loop through an XML file (test.xml), and display each element as an HTML table row: <script type=”text/javascript”> var xmlDoc; if (window.XMLHttpRequest) { xmlDoc=new...