Hi,
At my website I want to search based on 2 parameters........and I've tried to call it like this...................can you please check if this is correct as....this is not working........
Posting data from index.
HTML Code:
<form action="srch/searchkey.php?id="$_POST['get_searchword']"&title="$_POST['city_search']"" method="POST" name="frm" id="frm">
and Getting data on my search page like this:
PHP Code:
"select * from bcc join tblcity c on bcc.city_id = c.city_id join tblbusinessinfo b on bcc.business_id = b.biz_id join tblcat t on bcc.category_id = t.category_id where t.category =".$_GET['title']." and c.city = ".$_GET['id']."";
But this is not working...............Can you please get me on this as why its not working.....??
If you need more info please let me know....
Thanks for your help in advance!!!
Last edited by Isabella_Smith; 02-08-2010 at 04:13 AM..
|