Hi,
I am transferring data through Javascript, its showing it into the url but at not in $_get[].
This is how I am calling it......
HTML Code:
var b=document.getElementById('get_searchword').value;
document.getElementsByTagName('form')[0].action="srch/searchkey.php?id=city&title="+b+"";
I can see the keyword in URL BAR...but its not getting any value in get...
this is how I am using get....
PHP Code:
$mainkey = mysql_real_escape_string($_GET['get_searchword']);
The problem is there is no error msg..........and its showing no results.....
Any help would be highly appreciated.
Last edited by Isabella_Smith; 03-02-2010 at 07:00 AM..
|