title: Add the SUM of a Column in mySQL & PHP
body: <p>How would i add the sum of a column in mysql?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>$add = mysql_query("SELECT SUM(rsvp) FROM TABLE_NAME WHERE rsvp &gt; 0;")or die(mysql_error());
  </code></pre>
  
  <p>when i echo it, it gives me a Resource id #</p>