/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/test/test7.php
ViewVC logotype

Contents of /nfo/php/libs/com.newsblob.phphtmllib/test/test7.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Fri Sep 19 22:49:58 2003 UTC (20 years, 9 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
+ updated whole phphtmllib to v2.3.0

1 <?php
2
3 include_once("localinc.php");
4
5 $page = new HTMLPageClass("test.php");
6
7 $options = array("bunz" => "hole",
8 "foo" => "bar",
9 "hello" => "world");
10 $form = new FORMtag(array("name"=> "testform",
11 "method" => "GET",
12 "action" => $PHP_SELF));
13
14
15 $form->add( form_select("test", $options, "foo") );
16
17 $textarea = form_textarea( "this is a long ass test" );
18 $textarea->set_tag_attributes( array("cols" => "40",
19 "rows" => "20") );
20
21 $form->add( html_br(), $textarea );
22
23 $page->add( $form );
24
25 print $page->render();
26 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed