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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu May 6 16:57:25 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("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->add( "Hello World" );
18    
19     $table->add_row( $td );
20     $table->add_row( "test", "1", "2", "3");
21     $page->add( $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