Hello Experts today i will discus about a XML write function and this XML value come from mysql table. Its very simple for use. Here is a sample mysql table and steps are described. I think it will be helpful for Experts…
<?php
/**
* writeXML : Converting mysql table into XML
*
* @author : S.M. [...]
Posts Tagged ‘XML’
Create XML file from mysql table
Posted in MySql, PHP, XML, tagged MySql, PHP, XML on July 8, 2008 | 2 Comments »
XMLToArray Generator Class
Posted in PHP, XML, tagged Array, Database, MySql, PHP, XML on May 29, 2008 | 1 Comment »
Here is a PHP class that read xml file and make an array. First save this class file as xmltoarray.php and then create an object like new XmlToArray($xml_data). Finally just call createArray() function. It will be helpful when we don’t want to use database or any kind of web services. Bellow i have given full [...]
Write The XML File
Posted in PHP, XML, tagged MySql, PHP, write, XML on May 28, 2008 | Leave a Comment »
Recently I have made a function that write xml file and bring data from mysql database. Its very easy to use. First put this function and call that function after mysql row insert, update or delete. Finally we may use this xml for different purpose. I think it will be helpful for someone.
function xmlfilewrite($xmlfile, $tablename)
{
// [...]