title: Simple addition in php
body: <p>While adding with mysql result I am not able to get the total.
  </p>
  
  <pre><code>&lt;?php
  
  //execute the SQL query and return records
  $result = mysql_query("SELECT * FROM table ORDER BY ID DESC LIMIT 1 ");
  
  while( $row = mysql_fetch_assoc( $result ) ){
      echo "{{$row['id']}+1}";
  }
  
  ?&gt;
  </code></pre>
  
  <p>Here I am getting the result as "27+1".<br>
  But I want "28". Please point out where I am going wrong.</p>