I am working on one PHP file (index.php) ,and i am trying to convert a javascript variable to PHP variable ,and i can not find a way , please Help : This is my code on index.php :
<script>
var name="James";
</script>
<?php
echo 'Hello',' ',name;
?>
Thanks