Answers for "call jquery function with php"

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
0

call jquery function in php code

<?php if($_POST["action"] == "memberadd"){?>
	pop_up_box();   // jquery function
<?php } ?>
Posted by: Guest on June-09-2021

Code answers related to "call jquery function with php"

Browse Popular Code Answers by Language