Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/03/2015, 16:07
malvadi
 
Fecha de Ingreso: junio-2005
Mensajes: 125
Antigüedad: 19 años, 9 meses
Puntos: 1
Respuesta: Variables no reconocidas dentro de Formulario HTML

Código PHP:
<?php 

    
echo "    el valor de id es" $id ;

?>



<head>
<title></title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="estilos.css" rel="stylesheet" type="text/css">
</head>

<body onLoad="document.form1.usuario_digitado.focus()" ><center>
<form name="form1"action='recibir.php?id=<? echo $id;?>' METHOD="post" enctype="multipart/form-data">
<TABLE WIDTH="500" CELLPADDING="0" cellspacing="0" BACKGROUND="">
            <TR> 
              <TD height="30" COLSPAN="2" ALIGN="left" class="nombreBold">Subir Fotografia  <? echo $id;?></TD>
            </TR>
            <TR> 
              <TD height="24" COLSPAN="2" ALIGN="center" class="textoBold"> <I><NOBR></NOBR></I> </TD>
            </TR>
            <tr> 
              <td ALIGN="right" VALIGN="bottom"> <table width="500" cellpadding=4 cellspacing=1 BACKGROUND="">
                  <tr> 
                    <td align="right" class="textoBold">A&ntilde;o Foto  </td>
                    <td> <INPUT NAME="descripcion" TYPE="text" id="descripcion" ></td>
                  </tr>
                  <tr>
                    <td colspan="2" align="right" class="textoBold"><input name="imagen" type="file" id="imagen"/></td>
                  </tr>
                  <tr>
                    <td align="right" class="textoBold">&nbsp;</td>
                    <td><label></label></td>
                  </tr>
                  <tr> 
                    <td align="right" class="textoBold">&nbsp;</td>
                    <td><div align="right">
                      <input name="Submit" type="submit" value="Enviar">
                    </div></td>
                  </tr>
                  <tr> 
                    <td>&nbsp;</td>
                    <td align="right">&nbsp;</td>
                  </tr>
                </table></td>
            </tr>
                    <TR> 
              <TD height="30" COLSPAN="2" ALIGN="left" class="pie"><div align="right"><a href="id.php?id=<? echo $id;?>"><strong>Regresar</strong></a></div></TD>
            </TR>    
    </table>
</form>
</center>
</body>

<?php