Login   Register  
PHP Classes
elePHPant
Icontem

File: pdo_xml.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marcelo Costa  >  PDO_EXT  >  pdo_xml.php  >  Download  
File: pdo_xml.php
Role: Example script
Content type: text/plain
Description: exemplo de retorno de um xml
Class: PDO_EXT
Generate XML from query results using PDO
Author: By
Last change:
Date: 2007-09-19 10:42
Size: 161 bytes
 

Contents

Class file image Download
<?php
 
include_once ("class_pdo_xml.php");
 
# Exemplo de uso
$SQL="SELECT * FROM table";
$teste = new PDO_XML;
$teste->simplexml($SQL); 
$teste->printxmlarray();