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"> </td>
<td width="182">Nombre:</td>
<td width="383"><input name="elemento0" type="text" id="elemento0" /></td>
</tr>
<tr>
<td> </td>
<td>Apellidos:</td>
<td><input name="elemento1" type="text" id="elemento0" /></td>
</tr>
<tr>
<td> </td>
<td>Documento de Identificación:</td>
<td><input name="elemento2" type="text" id="elemento0" /></td>
</tr>
<tr>
<td> </td>
<td>Cargo:</td>
<td><input name="elemento4" type="text" id="elemento0" /></td>
</tr>
<tr>
<td> </td>
<td>Usuario:</td>
<td><input name="elemento5" type="text" id="elemento0"/></td>
</tr>
<tr>
<td> </td>
<td>Contraseña:</td>
<td><input name="elemento6" type="password" id="elemento0"/></td>
</tr>
<tr>
<td> </td>
<td>Mail:</td>
<td><input name="elemento7" type="text" id="elemento0"/><input type="hidden" name="cantidad" value="8"></td>
</tr>
<tr>
<td> </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> </td>
<td><br /><input type="button" width="70" height="50" onclick="noVacio()" value="Registrar"/></td>
<td> </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.