1 |
jonen |
1.1 |
<?php |
2 |
|
|
|
3 |
|
|
include_once("localinc.php"); |
4 |
|
|
|
5 |
|
|
$page = new HTMLPageClass("test #4"); |
6 |
|
|
|
7 |
|
|
$form_attributes = array( "name" => "myform", |
8 |
|
|
"method" => "GET", |
9 |
jonen |
1.2 |
"action" => $_SERVER["PHP_SELF"]); |
10 |
jonen |
1.1 |
|
11 |
|
|
$form = new FORMtag( $form_attributes ); |
12 |
|
|
|
13 |
jonen |
1.2 |
$form->add( form_text("test", "testing",15,10) ); |
14 |
|
|
$form->add( form_button("test", "testing" ) ); |
15 |
|
|
$form->add( form_submit("test", "testing" ) ); |
16 |
jonen |
1.1 |
|
17 |
jonen |
1.2 |
$page->add( $form ); |
18 |
jonen |
1.1 |
|
19 |
|
|
|
20 |
|
|
print $page->render(); |
21 |
|
|
?> |