Código PHP:
<?php
if($_POST){
$boton=$_REQUEST['boton'];
$nombre=$_REQUEST['NOMBRE'];
if($boton=="Enviar")
{
$consulta="show columns from $nombre";
$conl=mysql_query($consulta);
echo $consulta;
$nfilas=mysql_num_rows($conl);
print "<table width='200' border='1'>
<tr>
<td>NOMBRE</td>
<td>CAMPO</td>
</tr>";
echo $conl;
for($i=1;$i<=$nfilas;$i++)
{
$fila=mysql_fetch_array($conl);
print "<tr>
<td>".$fila[0]."</td>
<td>"?> <input type="text" name="<?php echo $i?>" ?>
<?php "</td>
</tr>";
}
print "</table>";
echo $i;
1....etc ,
mi pregunta como recibo los nombres en la parte de las variables si no se como se llaman y cauntas son... y como hago el segundo envio de ingreso de datos .??
if($_POST){
for($j=1;$j<$i;$j++){
$j=$_REQUEST['$i'];
}
$boton=$_REQUEST['boton'];
if($boton=="Enviar2")
{