Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/12/2008, 08:44
Avatar de chwc
chwc
 
Fecha de Ingreso: julio-2008
Ubicación: Buenos Aires ! :D
Mensajes: 814
Antigüedad: 16 años, 6 meses
Puntos: 103
Respuesta: Estructura Post

prueba asi:
Código PHP:
<body>

<form action="http://localhost/categoria/alta/nueva_categoriab.phtml"

method="post" enctype="application/x-www-form-urlencoded"> <!--enctype="text/plain"-->


<?php

echo '<p><font size=5><strong>Alta Nueva Categoria</p><p>&nbsp;</p></font>';

$nt=$_POST['nt'];
$nc=$_POST['nc'];
?>
<table border="0">
<?
for($i=1;$i<$nt+1;$i++)
{
?>
<tr><td><strong>-Introduce el nombre de la tabla:</td><td><input name="tabl<?echo $i;?>" type="text" size="12" maxlength="10"></td></tr>
<p>&nbsp;</p>
<?
}

?>
</table>
__________________
Hangouts de JavaScript todos los jueves 20hs GMT, Unite !
https://plus.google.com/u/0/108504944676960830886