How to get that extra .2 on a height dropdown?
<p>I have a height dropdown, but its missing '10, '11, '12, inches from the foot due to php going straight up a number once it hits .10, which it should.</p>

<p>I figured maybe an if statement around the values area that detects the decimal being .9 and then automatically adding .10, .11, .12. However I wondered if anyone had anything neater?</p>

<pre><code>    public function load_heights() {
        $from   = 5;
        $to     = 7;
        $values = array();

        while ($from &lt;= $to) {
            $values[''.$from.''] = $from.' "';
            $from += 0.1;
        }
        return $values;
    }
</code></pre>
