Sorry everyone - i know this is going to be simple, but none of the search terms i can think of to find it are bearing fruit.....
I'm having problems with the following line:
<td><a href="<?php echo "http://www.xyz.co.uk/abc.php?Town=" . $Town . "&County=" . $County . "&s=2" ?>">Click here to view luxury hotels first</a></td>
Basically, on the previous page, the user has either selected a Town (therefore the Town has been passed through in the URL), or a County (in which case just the County is passed through in the URL).
If the former is true I don't want any mention of County in the code above, whereas if it's the latter, I don't want any mention of Towns.
So my problem is - is there a simple way of writing either/or in the URL?? because I don't want my links to end up with loads of unnecessary variables. (The code above works fine at the moment by the way. It's just that I heard that for search engines it's a case of the less variables, the better!)
I'd be very grateful for any ideas!
LizzyD