PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Tom Schaefer   QTag   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample simple
Class: QTag
Generate tag based documents programmatically
Author: By
Last change:
Date: 15 years ago
Size: 646 bytes


Class file image Download

include_once '';

$html = QTag::factory("html");
$head = QTag::factory("head");
$body = QTag::factory("body");

$title = QTag::factory("title");
$title->add("new template engine");

$script = QTag::factory("script");
$script->add("<!-- javascript -->");



$div = QTag::factory("div");

$textarea = QTag::factory("textarea");
$textarea->add("text für eine textarea");