Hi Kidgeek
I wouldn't recommend building your URL like this:
http://www.mysite.com?q=san+francisco+body+parts
You can if you want, but you're going to have to use some RegEx to sort it out. An easier approach would be:
http://www.mysite.com?r=san%20francisco&c=body%20parts
... or similar. Your best plan would be drop-down lists so that you can use your own code words in the URL, e.g.
http://www.mysite.com?r=sf&c=bp
To search MySQL for region and category, you just pick up those parameters from the URL and insert them into the query:
$region=$_GET["r"];
$category=$_GET["c"];
$sql = "SELECT region, category FROM mytable";
$sql .= "WHERE region='$region' AND category='$category'";
HTH
Norm