Login   Register  
PHP Classes
elePHPant
Icontem

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of svacant  >  PHP2HTML  >  Example.php  >  Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Example of use, generate html code with php
Class: PHP2HTML
Compose HTML documents programmatically
Author: By
Last change: the name
Date: 2009-05-22 13:10
Size: 301 bytes
 

Contents

Class file image Download
<?php
/* Example use of tag class by svacant.com */

require_once("tag.class.php");

$tag = new tag();

$tag->modality 'echo';


$tag->open_b2w('a','href=index.htm,target=_blank','ClickMe');

$tag->open('div','class=myclass');

echo 
"The content of Div";

$tag->close('div');

?>