title: PHP continue if conditions are ok
body: <p>Is there something in php that can halt or let the script proceed if things are ok?</p>
  
  <p>In my current scripts I do like this (for this example):</p>
  
  <pre><code>$fetch = false;
  
  if($i == 10){
  echo 'I is clear'
  $fetch = true;
  }
  
  if($fetch){
   //Do database work here
  }
  
  echo 'This should be seen no matter what the above';
  </code></pre>
  
  <p>Instead of the <code>$fetch</code> in there, can I do something else? I don't want to stop the entire script after that like what die() or exit does.</p>