how to use a php variable in js code example
Example: javascript php variable
<script type="text/javascript">
var php_var = "<?php echo $php_var; ?>";
</script>
<script type="text/javascript">
var php_var = "<?php echo $php_var; ?>";
</script>