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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/test/test4.php

Parent Directory Parent Directory | Revision Log Revision Log


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

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     ?>

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