Isset post and break for loop
<p>I have this code below</p>

<pre><code>for ($p=1; $p&lt;30000; $p++) {

    if(isset($_POST['stop_loop'])) {
       break;
    }

    loop do something

}
</code></pre>

<p>My question is how stop the loop after I post stop_loop?</p>

<p>Maybe I should use die(); but I try and it doesn't work is there any way?
If not maybe Neal was right</p>
