Answers for "how to create a variable in php"

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
10

php variables

<?php
  $string = 'string';
  $number = 1;
?>
Posted by: Guest on October-02-2020

Code answers related to "how to create a variable in php"

Browse Popular Code Answers by Language