title: sql query returning string instead of integer while using COUNT
body: <pre><code>$query_products_records="SELECT @MyInt=COUNT(*) FROM products";
  $result_query_products_records=mysql_query($query_products_records);
  echo 'table records ...'.$result_query_products_records;
  </code></pre>
  
  <p>I used the above query to get the count of rows in table, but i got </p>
  
  <p><code>Resource id #4</code> on echo.</p>
  
  <p>I have 3 records in the table.</p>