
25/04/2006, 00:37
|
 | | | Fecha de Ingreso: abril-2006
Mensajes: 139
Antigüedad: 18 años, 10 meses Puntos: 0 | |
Pues nose no es por eso, le puesto un nombre coherente y tampoco me funciona, y la sintaxis me parece que esta bien.
Te paso todo el codigo aber si sabes decirme si tengo algo raro.
Gracias:
<form name="form1" method="post" action="proyectoPHP.php">
Nombre:<input type="text" name="nombre" value="<? echo $matriz[$cont][0]?> "><br><br>
1.Apellido: <input type="text" name="ap1" value="<? echo $matriz[$cont][1]?> "><br><br>
2.Apellido: <input type="text" name="ap2" value="<? echo $matriz[$cont][2]?> "><br><br>
E-Mail: <input type="text" name="email" value="<? echo $matriz[$cont][3]?> "><br><br>
<input type="hidden" name="res" id="res" value=<? echo $resultado?>>
<input type="hidden" name="valor" id="valor" value=<? echo $cont?>>
<input type="hidden" name="accion" id="accion">
<input type="submit" name="btnAtras" value="<" onclick=" document.getElementById('accion').value='atras';">
<input type="submit" name="btnAdelante" value=">" onclick=" document.getElementById('accion').value='adelante' ;">
<br><br> <input type="reset" value="Nuevo">
<input type="submit" name="btnGuardar" value="Guardar" onclick=" document.getElementById('accion').value='guardar'; mensaje();">
</form> |