Answers for "how to declare php variable in javascript"

PHP
10

javascript php variable

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

js var to php

<script>
   var res = "success";
Posted by: Guest on February-10-2020

Code answers related to "how to declare php variable in javascript"

Browse Popular Code Answers by Language