title: Programming logic for income tax calculation
body: <p>Is any one who can help me to create PHP or mysql Code for our Office employee salary tax table.
  Here is the base for our tax regulation.</p>
  
  <pre><code> If salary is &gt;= 0 and &lt;= 150 it will be 0% (Nill),
   If salary is &gt;= 151 and &lt;= 650 it will be 10% - 15.00,
   If salary is &gt;= 651 and &lt;= 1400 it will be 15% - 47.50,
   If salary is &gt;= 1401 and &lt;= 2350 it will be 20% -117.50,
   If salary is &gt;= 2351 and &lt;= 3550 it will be 25% - 235.00,
   If salary is &gt;= 3551 and &lt;= 5000 it will be 30% - 412.5,
   If salary is &gt;= 5001 it will be 35% - 662.50
  </code></pre>