PHP Classes

File: DB_TO_XML.php

Recommend this page to a friend!
  Classes of Olavo Alexandrino   ADODB XML   DB_TO_XML.php   Download  
File: DB_TO_XML.php
Role: Example script
Content type: text/plain
Description: This example saves the data of the consultation in an file XML
Class: ADODB XML
Import and export data in databases to XML files
Author: By
Last change:
Date: 19 years ago
Size: 299 bytes
 

Contents

Class file image Download
<?php require_once('connection.php'); ?>
<?php
require_once('class.ADODB_XML.php'); ?>
<?
/*
This example saves the data of the consultation in an file XML
*/
$adodbXML = new ADODB_XML("1.0", "ISO-8859-1");
$adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM user", "usersxml.xml");
?>