Time exceeded in function
<p>Error Output: Fatal error: Maximum execution time of 30 seconds exceeded</p>

<p>I think there isn't any wrong thing in there. What is wrong?</p>

<pre><code>    function advancedSearchAgeOption($selectName, $selectID, $firstValue, $lastValue) {
    $selectBox.='&lt;select name="'.$selectName.'" id="'.$selectID.'"&gt;';
    for ($i=$firstValue; $i=$lastValue; $i++) {
        $selectBox.='&lt;option value="'.$i.'"&gt;'.$i.'&lt;/option&gt;';
    }
    $selectBox.='&lt;/select&gt;';
    return $selectBox;
}
</code></pre>
