Using php search with mysql. Question about GET.
Posted: Thu Jun 13, 2002 12:10 am
Hello,
I am working on a search engine and I'm using the GET method instead of POST. While I have no problems really with the search engine, I was just wondering if there is a way to get rid of the string or whatever after the second & and like such,
search.php?=zipcode&search=55555&submit.x=13&submit.y=7
I would like to have this show as,
search.php?=zipcode&search=55555
Is this possible to leave one & after zipcode&search but remove the rest of the string after the zip code itself?
Sorry if this doesn't make sense. I'm new to php and can't find anything related to this yet. Not exactly sure what I'm looking for. Thanks in advance.
Chris
I am working on a search engine and I'm using the GET method instead of POST. While I have no problems really with the search engine, I was just wondering if there is a way to get rid of the string or whatever after the second & and like such,
search.php?=zipcode&search=55555&submit.x=13&submit.y=7
I would like to have this show as,
search.php?=zipcode&search=55555
Is this possible to leave one & after zipcode&search but remove the rest of the string after the zip code itself?
Sorry if this doesn't make sense. I'm new to php and can't find anything related to this yet. Not exactly sure what I'm looking for. Thanks in advance.
Chris