<?
/*Añadimos la hora actual*/
putenv('TZ=Europe/Madrid');
$hora_actual=date("H:i:s");
$hora=utf8_encode($hora_actual);
?>
y quiero pasar la variable $hora a una variable Javascript, ¿cómo lo haría y llamaría a dicha variable?
GRACIAS
Comunidad de diseño web y desarrollo en internet online
|
Por Night~
43 de clabLevel
Envíale un mensaje privado Email |
Geek, Gamer, Otaku |
|
Por Night~
43 de clabLevel
Envíale un mensaje privado Email |
Geek, Gamer, Otaku |
|
Por yoelotero
51 de clabLevel
Envíale un mensaje privado Web |
Programador web. |