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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Jan 30 03:29:40 2003 UTC (21 years, 5 months ago) by jonen
Branch: MAIN
Branch point for: no_vendor_tag
Initial revision

1 jonen 1.1 <?php
2    
3     include_once("localinc.php");
4    
5     $page = new HTMLPageClass("First example script", XHTML_STRICT);
6     $page->set_text_debug( $_GET["debug"] );
7    
8    
9     $attributes = array("width"=>"600",
10     "border"=>1,
11     "cellspacing"=>0,
12     "cellpadding"=>0);
13     $table = new TABLEtag( $attributes );
14     $td = new TDtag( array("bgcolor"=>"#FFFFFF",
15     "colspan" => 4) );
16    
17     $td->push( "Hello World" );
18    
19     $table->push_row( $td );
20     $table->push_row( "test", "1", "2", "3");
21     $page->push( $table, html_br(),
22     build_spacergif_imgtag(1,1));
23    
24     print $page->render();
25     ?>

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