Usage of values stored in $_GET / $_SESSION in Javascript
Posted
by Iuhiz
on Stack Overflow
See other posts from Stack Overflow
or by Iuhiz
Published on 2010-04-22T05:13:59Z
Indexed on
2010/04/22
5:23 UTC
Read the original article
Hit count: 187
Hi, i'm pretty new to Javascript and PHP so please bear with me if i'm asking some really dumbed down questions.
Ok, say i need to use values stored in a PHP $_GET or $_SESSION, is it advisable to just do something like
var something = PHP echo $_SESSION or $_GET
© Stack Overflow or respective owner