have one combo box and text box and one submit button in(page1.php). i want to search from DB for some records based one combo box item and text typed in textbox by clicking search button.
i select one item from combo box, and type text in text box and click submit(search) button, the result will appear on the same page(page1.php) below the submit button.
but my problem is if i click submit button,the text box content disappears and combo box displays first item in the list(not selected item for me). how can i retain the values when i click submit button.