I want to echo some $_get variables insede a javascript function.
But as I notice I can not use the echo inside the javascript tag.
The $a is not there at alert!Code:<?php $a=$_REQUEST['country']; print ($a);?> <script type="text/javascript"> function orderby() { alert ('<?php $a=$_REQUEST['country']; print ($a);?>') }....
What is wrong?








Bookmarks