Quote:
|
Originally Posted by Richard M
It's not really possible to stop the browser sending the "furnishings" value, even if it's empty - other than Javascript but you can't always rely on this.
This PHP code deals with it though:
PHP Code:
if (empty($_GET['furnishing'])) {
/* if the value in the URL is empty like:
[url]http://www.site.com/results.php?furnishing=[/url]
then do something here...
*/
}
elseif (!empty($_GET['furnishing'])) {
/* if the a value for "furnishing" passed in the URL is like:
[url]http://www.site.com/results.php?furnishing=Fully+Furnished[/url]
then do something different
*/
}
|
Heh, that's almost what I said

It's the "do something here" bit that baffles me (sorry, I still know very little about PHP and it's probably very infuriating for people trying to help me)