Answers for "how to access a php variable vanlue inside js"

PHP
6

javascript access php variable

//passing PHP variable to JavaScript
var myJSVar = <?php echo json_encode($myPHPVar); ?>;
Posted by: Guest on August-05-2019

Code answers related to "how to access a php variable vanlue inside js"

Browse Popular Code Answers by Language