title('Test Title'); $html->style(''); $html->initbody(); $table[0] = array('content1', 'content2', 'content3', 'content4'); $table[1] = array('content1', 'content2', 'content3', 'content4'); $table[2] = array('content1', 'content2', 'content3', 'content4'); $table[3] = array('content1', 'content2', 'content3', 'content4'); $table[4] = array('content1', 'content2', 'content3', 'content4'); $html->table($table); $form[] = array('tag' => 'input', 'type' => 'text', 'name' => 'example', 'value' => 'example'); $form[] = array('tag' => 'input', 'type' => 'checkbox', 'name' => 'example2', 'value' => 'example'); $form[] = array('tag' => 'input', 'type' => 'checkbox', 'name' => 'example2', 'value' => 'example'); $html->form('', 'post', $form); $html->foot(); echo $html->rhtml(); ?> output:
| content1 | content2 | content3 | content4 |
| content1 | content2 | content3 | content4 |
| content1 | content2 | content3 | content4 |
| content1 | content2 | content3 | content4 |
| content1 | content2 | content3 | content4 |