Ver Mensaje Individual
  #13 (permalink)  
Antiguo 06/07/2007, 08:49
Avatar de TolerantX
TolerantX
 
Fecha de Ingreso: marzo-2006
Ubicación: Guadalajara, México.
Mensajes: 408
Antigüedad: 18 años, 1 mes
Puntos: 10
Re: duda con traspaso de variable

Cita:
Iniciado por natashca Ver Mensaje
Código PHP:
<a href=traspasoURL.php?CORRELATIVO=".$_GET['CORRELATIVO']."&RUT=".$_GET['RUT']."&DV=".$_GET['DV']."";</a> 
Si está mal, primero que nada, recoges los datos desde la URL?
Si es así si necesitas el $_GET[''], si no como variables "normales".

Código PHP:
echo "<a href=traspasoURL.php?CORRELATIVO=".$_GET['CORRELATIVO']."&RUT=".$_GET['RUT']."&DV=".$_GET['DV']."</a>"
Código:
/* o Así */
<a href=traspasoURL.php?CORRELATIVO=<?=$_GET['CORRELATIVO']?>&RUT=<?=$_GET['RUT']?>&DV=<?=$_GET['DV']?>TU enlace</a>
__________________
TolerantX
http://tolerantx.com
Linux User #385226