hi. i want to build a table with variable amount of rows and columns, so i did this script:
<?
echo "<table>";
for ($i = 0 ; $i < 3 ; $i++)
{
echo "<tr>";
for ($j = 0; $j < 2 ; $j++)
{
echo "<td>kjjjjhjlh</td>";
}
echo "</tr>";
}
echo "</table>";
?>
but the html output only returns <table></table>
can anyone help me with this ?