php $_POST and pagination $_GET
<p>I face a problem whenever the user tries to browse to second page via $_GET if they have submitted $_POST data.</p>

<pre><code>if(!isset($_POST['submit'])) {
//search input box
}
else {
//search details output
//pagination code
}
</code></pre>

<p>Whenever user press page 2, it shows <code>//search input box</code> back.</p>

<p>I want search to show page 2 and not <code>//search input box</code> back.</p>
