| 1 |
<?php |
| 2 |
|
| 3 |
include_once("localinc.php"); |
| 4 |
|
| 5 |
function xmp_var_dump($var) { |
| 6 |
echo "<xmp>"; |
| 7 |
var_dump( $var ); |
| 8 |
echo "</xmp>"; |
| 9 |
} |
| 10 |
|
| 11 |
$page = new HTMLPageClass("test #4"); |
| 12 |
|
| 13 |
$form_attributes = array( "name" => "myform", |
| 14 |
"method" => "GET", |
| 15 |
"action" => $PHP_SELF); |
| 16 |
|
| 17 |
$form = new FORMtag( $form_attributes ); |
| 18 |
|
| 19 |
$form->push( form_text("test", "testing",15,10) ); |
| 20 |
$form->push( form_button("test", "testing" ) ); |
| 21 |
$form->push( form_submit("test", "testing" ) ); |
| 22 |
|
| 23 |
$page->push( $form ); |
| 24 |
|
| 25 |
|
| 26 |
print $page->render(); |
| 27 |
?> |