how to avoid Form Re submission in php
<p>I  have a form in dashboard.php to create invoice and this is submitted to invoice.php</p>

<p>Now my invoice.php inserts the Invoice and the customer into the database and then shows me a invoice order filling form.</p>

<p>if i refresh this page, it inserts a new invoice for the same customer, how do i avoid this.</p>

<p>I was reading that we could avoid it by redirection, but in my case how do i use it. Some thing like a PRG(post/redirect/get) how to use it?</p>

<p>Do i need to make an intermediate page before going to insert items to invoice</p>
