ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

1
Date Submitted Mon. Nov. 23rd, 2009 11:58 PM
Revision 1
Beginner nilambar
Tags Class | databse | Table | XML
Comments 0 comments
This is a simple class for generating XML from MySql databse table.

Usage
include("Xml.class.php");//include class file
$mx=new Xml;//create new Xml object
$mx->dbtoXml("localhost","root","","dbname","tblname");//give hostname, user, password, database name and table name
echo $mx->showXml();//showXml returns Xml