Ver Mensaje Individual
  #6 (permalink)  
Antiguo 06/09/2007, 09:23
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Envio y retorno de variable en PHP

Tendrias que pasar tu archivo js a un archivo php y mandar un header:
Código PHP:
<?php
header
("Content-type: text/javascript");
?>

var unavariable="<?php echo $unaVar?>";
Saludos.