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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Thu Jan 30 03:29:40 2003 UTC revision 1.2 by jonen, Fri Sep 19 22:49:58 2003 UTC
# Line 14  $table = new TABLEtag( $attributes ); Line 14  $table = new TABLEtag( $attributes );
14  $td = new TDtag( array("bgcolor"=>"#FFFFFF",  $td = new TDtag( array("bgcolor"=>"#FFFFFF",
15                         "colspan" => 4) );                         "colspan" => 4) );
16    
17  $td->push( "Hello World" );  $td->add( "Hello World" );
18    
19  $table->push_row( $td );  $table->add_row( $td );
20  $table->push_row( "test", "1", "2", "3");  $table->add_row( "test", "1", "2", "3");
21  $page->push( $table, html_br(),  $page->add( $table, html_br(),
22               build_spacergif_imgtag(1,1));               build_spacergif_imgtag(1,1));
23    
24  print $page->render();  print $page->render();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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