Hi everyone: I am new to PHP, and am having some problems getting the results I am looking for.
I am creating a search page with a category drop down box, search string input box, and a submit button. I would like to have a second drop down box called sub-category, dynamically appear if the user selects a category. I need to pass the POST variables to a second page called searchResult.php when the submit button is pressed.
Unfortunately, I can only seem to get one or the other to work.... Post to the searchResult.php page, OR post to PHP_SELF and redraw the page with the subcategory drop down. I am probably missing something simple to bring it all together.
Any suggestions would be greatly appreciated.
Thanks in advance,