Answers for "send variable to javascript from php"

PHP
5

js var to php

<script>
   var res = "success";
</script>
<?php
   echo "<script>document.writeln(res);</script>";
?>
Posted by: Guest on February-10-2020

Code answers related to "send variable to javascript from php"

Browse Popular Code Answers by Language