Tema
:
Envio y retorno de variable en PHP
Ver Mensaje Individual
#
6
(
permalink
)
06/09/2007, 09:23
GatorV
$this->role('moderador');
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
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.
GatorV
Ver Perfil
Buscar todos los Mensajes de GatorV