you can't use same variable for both category and sub-category as i think, both will be having different values..in this case, you just need to use following code:
$category=$_POST['Category'];...
you can get the information entered on first page through $_GET("fieldname") on second page and display it in a form with those fields disabled with back and submit button.When user click submit...