Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

js var to php

<script>
   var res = "success";
</script>
<?php
   echo "<script>document.writeln(res);</script>";
?>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #js #var #php
ADD COMMENT
Topic
Name
1+4 =