![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/06/2010, 11:08
|
| | Fecha de Ingreso: junio-2010
Mensajes: 44
Antigüedad: 14 años, 8 meses Puntos: 0 | |
Respuesta: Problemas con $_POST[...] les dejo un poco del código html:
<html>
<body>
<form class="miform" action="modificar_usuario_administrador.php" method="post" >
<table width="497" border="0">
<tr>
<td colspan="2"><strong>Ingrese Rut de Usuario:</strong></td>
</tr>
<tr>
<td colspan="2" > </td>
</tr>
<tr>
<td width="82" bgcolor="#F0D97B">Rut:</td>
<td width="587" bgcolor="#F0D97B"><input type="text" name="rut2">
(formato: 1.111.111-1)</td>
</tr>
<tr>
<td> </td>
<td><form name="registro" method="post" action="modificar_usuario_administrador.php" onsubmit="var envio=false;if(rut2.value=='')alert('Debe ingresar Rut');else envio=true;return envio">
<input type="submit" name="buscar" value="Buscar">
<br>
</form></td>
</tr>
<tr>
<td height="42" colspan="2"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="78"> </td>
<td colspan="4">
<table width="680" border="0">
<tr>
<td colspan="4"><strong>DATOS PERSONALES:</strong></td>
</tr>
<tr>
<td width="136"> </td>
<td width="216"> </td>
<td width="126"> </td>
<td width="184"> </td>
</tr>
<tr>
<td bgcolor="#F9EFAA">Rut:</td>
<td colspan="3" bgcolor="#F9EFAA">
<input name="rut_mod" disabled type="text" value="<?php echo $rut; ?>"/>
</td>
</tr>
<tr>
<td bgcolor="#F0D97B">Nombres:</td>
<td colspan="3" bgcolor="#F0D97B">
<input name="nombre_m" type="text" value="<?php echo $nombre; ?>"/>
</td>
</tr>
<tr>
<td colspan="4"><div align="center">
<form name="registro_mod" method="post" action="modificar_usuario_administrador.php" >
<input type="submit" name="modificar" value="Modificar Usuario">
<br>
</form>
</div></td>
</tr>
</table>
</form>
</body>
</html> |