Current File : //opt/RZphp73/includes/test/HTML_Table/tests/13.phpt
--TEST--
13.phpt: 2 row 1 column, setCellContents / getCellContents
--FILE--
<?php
// $Id$
require_once 'HTML/Table.php';
$table = new HTML_Table();

$data[0][] = 'Test';
$data[1][] = '';

foreach($data as $key => $value) {
    $table->addRow($value);
}

echo $table->getCellContents(0, 0) . "\n";
$table->setCellContents(0, 0, 'FOOBAR');
echo $table->getCellContents(0, 0) . "\n";
// output
echo $table->toHTML();
?>
--EXPECT--
Test
FOOBAR
<table>
	<tr>
		<td>FOOBAR</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>