Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/08/2009, 10:03
jsoplay3
 
Fecha de Ingreso: febrero-2009
Mensajes: 52
Antigüedad: 15 años, 2 meses
Puntos: 0
Ayuda con input

Hola a todos.

Tengo el siguiente codigo

Código HTML:
<form name="frm" method="post" action="pagina2.php" enctype="multipart/form-data"><table width="613" border="0">
    <tr>
      <td width="1">&nbsp;</td>
      <td width="182">Nombre:</td>
      <td width="383"><input name="elemento0" type="text" id="elemento0" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Apellidos:</td>
      <td><input name="elemento1" type="text" id="elemento0" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Documento de Identificación:</td>
      <td><input name="elemento2" type="text" id="elemento0" /></td>
    </tr>
    
    <tr>
      <td>&nbsp;</td>
      <td>Cargo:</td>
      <td><input name="elemento4" type="text" id="elemento0" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Usuario:</td>
      <td><input name="elemento5" type="text" id="elemento0"/></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Contraseña:</td>
      <td><input name="elemento6" type="password" id="elemento0"/></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Mail:</td>
      <td><input name="elemento7" type="text" id="elemento0"/><input type="hidden" name="cantidad" value="8"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>Foto:</td>
      <td><input name="elemento3" type="file" id="elemento0"/>
        <input type="text" value="<?php '$_REQUEST[elemento5]' ?>" name="nomarchivo" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><br /><input type="button" width="70" height="50" onclick="noVacio()" value="Registrar"/></td>
      <td>&nbsp;</td>
    </tr>
    
  </table>
  </form> 
Lo que deseo es que el input nomarchivo tenga el mismo valor que el input elemento 5, sin embargo cuando lo guando en la base de datos no me graba el dato que ingreso en el input elmeento 5.

Podrian ayudarme con eso por favor.

Gracias por su atencion.