Answers for "javascript with php function"

PHP
1

call php function in js

<script>
  var phpadd= <?php echo add(1,2);?> //call the php add function
  var phpmult= <?php echo mult(1,2);?> //call the php mult function
  var phpdivide= <?php echo divide(1,2);?> //call the php divide function
</script>
Posted by: Guest on April-07-2020

Code answers related to "javascript with php function"

Browse Popular Code Answers by Language