Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/11/2007, 15:22
smokingone
 
Fecha de Ingreso: noviembre-2007
Mensajes: 10
Antigüedad: 16 años, 5 meses
Puntos: 0
Pregunta 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&iacute;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>