PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Ismet Ozalp   MsSql To XML   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example File
Class: MsSql To XML
Generate XML from MS SQL server query results
Author: By
Last change:
Date: 17 years ago
Size: 248 bytes
 

Contents

Class file image Download
<?
header
('Content-type: text/xml; charset=ISO-8859-9');
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
require_once(
"sqlToXml.inc.php");
$xml=new sqlToXml("Select * From Tracker");
$xml->setRootNodeName("tracks");
echo
$xml->createXml();
?>