<?php
$kira = 12;
?>
<table width="20%" border="1">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<?
for ($i=1; $i<$kira; $i++)
{
?>
<td><? echo $i; ?></td>
<?
if ($i%2 == 0)
{
echo "</tr><tr>";
}
}?>
</tr>
</table>
Basic PHP Table
Monday, August 11, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment