form.html
Cita:
<form action="code.php" method=post>
<font face="Verdana, Arial, Helvetica, sans-serif"><br>
<font size="3" face="Comic Sans MS">
i:</font></font> <font size="3" face="Comic Sans MS">
<input type=text name="i" size=25>
<br>
j:</font>
<input type=text name="j" size=25>
<br>
</font><br>
<br>
<input name="submit" type=submit value="calcular">
<P><INPUT TYPE="reset" VALUE="Borrar datos">
</form>
<form action="code.php" method=post>
<font face="Verdana, Arial, Helvetica, sans-serif"><br>
<font size="3" face="Comic Sans MS">
i:</font></font> <font size="3" face="Comic Sans MS">
<input type=text name="i" size=25>
<br>
j:</font>
<input type=text name="j" size=25>
<br>
</font><br>
<br>
<input name="submit" type=submit value="calcular">
<P><INPUT TYPE="reset" VALUE="Borrar datos">
</form>
y este es el codigo php donde quiero recibir los valores en $i y $j es un programa para mostrar las tablas de multiplicar
code.php
Código PHP:
<html>
<body>
<?php
echo "<table border=5 cellspacing=5 width=24 height=42 bgcolor=#ffff55 bordercolor=#000000 >\n ";
for ($i=1;$i<=0;$i++){//.............$i<=0 aqui la quiero recibir
echo "<tr>\n";
for ($j=1;$j<=0;$j++){ //............$j<=0 aqui la quiero recibir
echo "<td>".$j*$i."</td>\n";
}
echo "</tr>\n";
}
echo "</table>";
?>
</body>
</html>