Re: [Dave] Creating Search Results from a drop down list
Hi Dave;
If I understand your message, I think am trying to work it from a different angle. I have a list of products that when one is selected, shows the list of cities, the city when clicked, shows a list of dealers in that city. But I have some problems with the search results.
I have a page where you can search for a product from a drop down list http://www.therichlawncompany.com/?page_id=72
Problems I am having:
1. The results page shows the city name multiple times, not sure how to fix that. Here is the code:
<h1>Dealers City List Viewer</h1>
<?php foreach ($listRows as $record): ?>
<a href="http://www.therichlawncompany.com/?page_id=53&city_match=<?php echo $record['city'] ?>"><?php echo $record['city'] ?></a><br/>
<hr/>
<?php endforeach ?>
2. Then the cities are actually displaying all the records for that city, not just the ones that have the product that was selected. So I need to edit the code so that only the cities with that product show.
I opened a support ticket back in early March to help with this, I think it was Jake that was helping me, but can not find the emails from him, so not quite sure.
Thanks for any help, I thought we had it working but the client entered the data and that is when I realized there was a problem.
Liz