Answers for "call variable php in javascript"

PHP
3

using js variable in php

<script type="text/javascript">
var abc= 'this is text';
<?php $abc = "<script>document.write(abc)</script>"?>   
</script>
<?php echo $abc;?>
Posted by: Guest on June-10-2020
2

how to use javascript variable in php

<script>
var p1 = "success";
</scri
Posted by: Guest on August-17-2020

Code answers related to "call variable php in javascript"

Browse Popular Code Answers by Language