How can I assign the session value to a javascript variable. For example, I want to assign the $_SESSION['name']
to javascript variable name
.
Thanks.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
|||
|
Well, four options:
|
|||
|