in php, switching to another page then to the current page without losing the field values in the current page
<p>I have created a form <em>receipt.php</em> in which data is fed in a normal way. After reaching the field called  <em>mode of payment</em>, two radio buttons are provided:</p>

<p>1.<code>DD/cheque</code>  2.<code>E-transfer</code></p>

<p>On clicking the radio1, dd_detail.php should appear and on clicking radio2, e_trans.php should appear.</p>

<p>After filling the  dd or e-trans details, I need to click on "ACCEPT" button. Then I should get that previous page <em>receipt.php</em>  without losing any filled values.</p>

<p>The problem is after clicking on <em>ACCEPT</em> button, the field values of <em>receipt.php</em> page which I have entered are empty....!!!</p>

<p>What to do for this?</p>
