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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/examples/old/test7.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu May 6 16:57:27 2004 UTC (20 years, 3 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
 updated all to v2.4.1 - Apr 01, 2004

1 jonen 1.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