Answered
Code Variable Question
Hi,
I have a Menu on a search page in DW with a list of states that connects to a mysql database. A user selects a state and hits enter; this brings up the results for the state selected.
I would like to be able to add in a menu list item for "All" but any of the code variations and variables I have tried have not worked. I can very simply look up all of my listings with a separate search form and results page, but that is so cluncky! How do I create an "Either/Or" statement so I can have only one search form and one results page?
Following is my current Recordset code:
SELECT *
FROM Listings
WHERE `state` LIKE %colname%
Thanks,
Sead1
I have a Menu on a search page in DW with a list of states that connects to a mysql database. A user selects a state and hits enter; this brings up the results for the state selected.
I would like to be able to add in a menu list item for "All" but any of the code variations and variables I have tried have not worked. I can very simply look up all of my listings with a separate search form and results page, but that is so cluncky! How do I create an "Either/Or" statement so I can have only one search form and one results page?
Following is my current Recordset code:
SELECT *
FROM Listings
WHERE `state` LIKE %colname%
Thanks,
Sead1
