I have spent couple of hours trying to figure out how this is done:
Exapmple 1 : http://www.sitepointforums.com
At the top right corner, there is one input field for the search and then a dropdown with options "Forums" and "Articles"
Each option searches a different database and needs to send the keyword data to a different file...
Exapmple 2: http://www.overgrow.com/edge/index.php
Same case, at the top right corner, there is one input field, and 3 options on what to search. Again, the file that the data needs to be sent differs for each option I am sure.
The coding that I am looking for is the PHP part of all this, the actual search.php to which the data is submitted. I need to figure out on how to redirect the data depending on which option is selected from the dropdown.. does anyone understand what I am saying?
Thanks for any help.
Exapmple 1 : http://www.sitepointforums.com
At the top right corner, there is one input field for the search and then a dropdown with options "Forums" and "Articles"
Each option searches a different database and needs to send the keyword data to a different file...
Exapmple 2: http://www.overgrow.com/edge/index.php
Same case, at the top right corner, there is one input field, and 3 options on what to search. Again, the file that the data needs to be sent differs for each option I am sure.
The coding that I am looking for is the PHP part of all this, the actual search.php to which the data is submitted. I need to figure out on how to redirect the data depending on which option is selected from the dropdown.. does anyone understand what I am saying?
Thanks for any help.
Comment