Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (22 sloc) 0.36 kb
--TEST--
2.phpt: addRow 1 row 2 column with no extra options
--FILE--
<?php
// $Id$
require_once 'HTML/Table.php';
$table = new HTML_Table();
$data[0][] = 'Test';
$data[0][] = 'Test';
foreach($data as $key => $value) {
$table->addRow($value);
}
// output
echo $table->toHTML();
?>
--EXPECT--
<table>
<tr>
<td>Test</td>
<td>Test</td>
</tr>
</table>
Jump to Line
Something went wrong with that request. Please try again.