
PASAR PARAMETRO DE TEXTBOX
Publicado por Sandra (50 intervenciones) el 23/04/2015 12:56:14
Buenas de nuevo, estoy estancada con este tema, tengo este formulario, del que quiero pasar los valores de los textbox a la pagina modifica.php que hay en el action del form...pero no hay forma... necesito que sean los valores del text box porque luego pretendo, en modifica.php modificar los registros de mi base de datos.... y no me pasa los parametros del textbox, alguna idea? Lo he probado fuera del while, dentro, y no hay forma...
thankius!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
while ($row=mysql_fetch_array($rs))
{
?>
<form name="modificar" method=post action="http://gestion-acrasesores.s15c4aed.alojamientovirtual.com/modules/modificareg/modifica.php?razonsocial" method="post" target="nventana" onsubmit="procesar(this.action);">
<?
echo "<TABLE BORDER=0><caption><h1><font color='blue'>Modificar datos</FONT></H1></CAPTION>
<tr>
<th ALIGN=RIGHT>Razón Social: </th>
<td><input type=text maxlength=40 size=40 name= 'razonsocial' value=".$row[RAZON_SOCIAL]."></td>
</tr><tr>
<th ALIGN=RIGHT>CIF/NIF: </th><td><input type=text name= 'cifnif' maxlength=15 size=15 value=".$row[CIFNIF]."></td>
</tr><tr>
<th ALIGN=RIGHT>Teléfono l: </th><td><input type=text name='tel1' maxlength=9 size=9 value=".$row[TEL1]."></td>
</tr>
</TABLE>";
thankius!
Valora esta pregunta


0