title: How to increment value dyanamically through forloop
body: <p>I am working as php developer, I want to keep one select box field with full or price. I want to start price from 10000 and end with 15000000. I want increace my value like (10000,20000,30000....) for this i have tried,</p>
  
  <pre><code>&lt;?php
  $minsale = 10000;
  $maxsale = 15000000;
  ?&gt;
  &lt;select class="form-control" name="min" id="minval"&gt;
      &lt;?php for($sal = $minsale; $sal &lt;= $maxsale; $sal++) {
          $sal = $sal + 10000;
      ?&gt;
          &lt;option &lt;?php echo (isset($_GET['min']) &amp;&amp; $_GET['min'] == $sal) ? 'selected=selected' : ''; ?&gt;value="&lt;?php echo $sal; ?&gt;"&gt;&lt;/option&gt;
      &lt;?php } ?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>For this i am getting (20000,30001,40002...). 
  How to solve this, can any one please help </p>