DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php pass a variabele to js
<script> 'var name = <?php echo json_encode($name); ?>; </script>'
Source by www.w3docs.com #
PREVIOUS
NEXT
Tagged:
#php
#pass
#variabele
#js
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit