<?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>
Showing posts with label table. Show all posts
Showing posts with label table. Show all posts
Basic PHP Table
Monday, August 11, 2008
Posted by ayus at 9:01 PM 0 comments
Subscribe to:
Posts (Atom)

