Re: [Dave] Results link - min value in link
Hi Dave,
Thanks for the reply.
Without the commas, it does and doesn't work...
The prices set within the records DO have commas (i.e. displaying as 2,000,000). So when searching:
<p><a href="results.php?price_min=1000000">Property over £1,000,000</a></p>
...because we're not using commas in the price_min in the link, it displays no results, because the results records DO have commas.
The commas work fine in a select search engine, for example:
<select name="price_min">
<option value="1,000,000">1,000,000</option>
</select>
We want to keep the commas in displayed records as otherwise we're loosing the neatness and style.
If the direct link won't work with commas, I guess I would need to build the direct link in as a form - a hidden <select> field (to take the price_min with commas) with a submit button which is just the link text - so there probably is a way around it, but not as easy or simple as a quick link...
Cheers
Rob