I dont know if this is an easy problem or not,but i tried and i failed,for example,i got some javascript codes that return the value of 1,i call it num=1.
Then if i would like to display it,i would write
Code:
<script language = "JavaScript">
document.write(num);
</script>
But i have a PHP file(the same page as the js script above)and an var called $num,how can i give $num the value of num???
thx much.