Answers for "how to use php variable in javascript code"

PHP
10

javascript php variable

<script type="text/javascript">
   var php_var = "<?php echo $php_var; ?>";
</script>
Posted by: Guest on March-20-2020
0

how to use php variable in javascript file

alert("color: " + color);
Posted by: Guest on October-17-2020

Code answers related to "how to use php variable in javascript code"

Browse Popular Code Answers by Language