Defaulting unset values with out a if Statement
<p>I think there a easier way to perform the same function but without if statements.  </p>

<pre><code>if (isset($_GET['limit']))
 {
  $limit = $_GET['limit'];
 }
else
 {
   $limit = 10;
 }
</code></pre>
