title: MySQL query, SUM of multiple columns
body: <p>I have multiple columns in a mySQL table. Three of the columns are named i100s, i60s and i25s and what I want to do is get the sum of all three entries . currently I have this code</p>
  
  <pre><code>   '$query= "SELECT SUM(i100s),SUM(i60s),SUM(i25s) AS tkit FROM event WHERE acc='100' " ; 
      $result = mysql_query($query) or die(mysql_error());
      $row = mysql_fetch_assoc($result) ;
      $total =  $row['tkit'];' 
  </code></pre>
  
  <p>But it is not returning the correct result.</p>