I have a php order form named (order.php) and when the user clicks the (submit button \"Next Step\") it takes him to another page called (confirm-order.php)
The (con
create a form and store variables in hidden fields , then create this submit button in the form
So clicking this form will store the info. See the exmple here