Login   Register  
PHP Classes
elePHPant
Icontem

File: table.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andre Loquinho Costa  >  Basic Table Generator  >  table.php  >  Download  
File: table.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Basic Table Generator
Compose and output HTML tables
Author: By
Last change:
Date: 10 years ago
Size: 322 bytes
 

Contents

Class file image Download
<?php
require_once('tables.class.php');
$tabela = new Tabela();
$tabela->add_linha();
$tabela->add_coluna();
$tabela->add_coluna();
$tabela->add_coluna();
$tabela->set_celula('0','0','valor','Contents of cell');
$tabela->set_header('border','1');
$tabela->mesclar('0:0','1:0');
print( 
$tabela->out_put(-1) );
?>