File: README.md

Recommend this page to a friend!
  Classes of Tony Frezza  >  HTML Generate  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: README.md
Class: HTML Generate
Generate HTML from arrays
Author: By
Last change: edit
Date: 4 years ago
Size: 470 bytes
 

Contents

Class file image Download
# Html Generate


### Installation

Include Html class php file as instance a new object:
<?php
    include('html.php');
    $html = new Html;
?>

### Usage
<?php
    include('html.php');
    $html = new Html;
    
    $html->add(
        array(
            'tag'   =>  'h1',
            'text'  =>  'Hello Word!",
        )
    );
    
    //print html
    echo $html->getHtml();
    
?>
### Author
Tony Frezza - frezzatony@gmail.com



For more information send a message to info at phpclasses dot org.