24/11/2007, 15:22
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 10
Antigüedad: 17 años, 2 meses Puntos: 0 | |
necesito fabricar una tabla en php bueno mi problema es con la creacion de una tabla en php la tabla la logre crear pero necesito hacer que me tire la sig numeracion en los campos
0 1 1 1 1
8 0 1 1 1
8 8 0 1 1
8 8 8 0 1
8 8 8 8 0
de la tabla
ahita el codigo haber seep me pueden ayudar
gracias}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento sin título</title>
</head>
<body>
<?
echo '<table width="397" height="311" border="1">';
echo '<tr>';
echo"<td>*</td>";
echo '</tr>';
for($i=1;$i<=10;$i++)
{
echo '<tr>';
for($g=1;$g<=10;$g++)
{
echo"<td>".$i*$g."</td>";
}
echo '</tr>';
}
echo '</table>';
?>
</body>
</html> |