Hi, I have a scenario, that’s need to be done in php please help me with the code. (consider me a total newbie)
I need to get a value from 2 static drop down lists and pass this on the server then return the result by displaying a static page.
I have 2 static drop down lists that users can choose then hit go. First you select “Property Type” then “Property Location” then the value should be grabbed and sent after clicking GO.
Then it should query with the database on the table “sitelinks” that includes the following columns: ID, Name and Link.
After checking, it should then show another static page as a result.
Below is a sample test of the result:
if ($type == ‘condominium’ && $location == ‘click city’)
display(‘condoclick.php’);
else if ($type == ‘residential’ && $location == ‘unclick city’)
display(‘resunclick.php’);[/CODE]
Thanks in advance!