Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rex Roger Rayla  >  Yggdrasil  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Demo Usage of the class
Class: Yggdrasil
Convert a XML document to an array and vice-versa
Author: By
Last change:
Date: 3 years ago
Size: 300 bytes
 

Contents

Class file image Download
<pre>
<?php
    
//Initialization
    
include("yggdrasil.class.php");
    
$classtester = new yggdrasil;
    
    
//Demo
    
$classtester->read("data.xml");
    
$datatester $classtester->createarray();
    
print_r($datatester);
    print 
"<textarea>".$classtester->createnode($datatester)."</textarea>";

?>
</pre>