09/04/2009, 22:02
|
| | | Fecha de Ingreso: julio-2008 Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 6 meses Puntos: 32 | |
Respuesta: php y javascript Te doy un consejo personal utliza la funcion extract() de php para que no tengas que hacer esto por cada variable
$DNI2 = $_POST['dni_text'];
$CUIL2 = $_POST['cuil_text'];
$APELLIDO2 = $_POST['apellido_text'];
$NOMBRES2 = $_POST['nombres_text'];
$DIRECCION2 = $_POST['direccion_text'];
$LOCALIDAD2 = $_POST['localidad_text'];
$CODIGO_POSTAL2 = $_POST['cod-postal_text'];
$TELEFONO2 = $_POST['telefono_text'];
$CELULAR2 = $_POST['celular_text'];
$PUESTO_TRABAJO = $_POST['puesto_select'];
Solo utlizas el name que le colocaste al campo de texto
Ejemplo
<input type="text" name="variable">
extract($_POST);
echo $variable;
Salu2 |