View Single Post
Old 03-07-2004, 13:36   #10
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: Help (again) ...

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:
http://www.site.com/results.php?furnishing=
then do something here...
*/
}
elseif (!empty(
$_GET['furnishing'])) {
/* if the a value for "furnishing" passed in the URL is like:
http://www.site.com/results.php?furnishing=Fully+Furnished
then do something different
*/
} 
Richard M is offline   Reply With Quote