I don't think you understand my problem.
At the moment I have a variable checker for the SQL query as so:
if ($make != "") { $where .= " AND makes.Smallname = '$make'"; }
If no value is entered, it lists all the makes, otherwise it will only list the makes the form sent as variable $make.
So far so good.
Now, say I have 10 variables for the search, ranging from speed of machine, to color to size. My form sends off this url if no options are set:
http://www.domain.com/search.php?make=&speed=&size=&color=
...which is cluttering up the url, imagine 10 variables, the url string would be massive.
I want the form to add the variable to the url string only if some value is set. Is this possible?
The reason is, if a user selects make to be acme, and no other options, the url he gets would be http://www.domain.com/search.php?make=acme and nothing else.