Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 8 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();
?>