title: How to echo with PHP this MySQL command
body: <p>The following code gives me the following:</p>
  
  <pre><code>$getexpenses = "SELECT sum(expense_amount) FROM projects_expense WHERE project_id=$project_id";     
      $showexpenses = @mysqli_query ($dbc, $getexpenses); // Run the query.
  
      echo ' . $showexpenses . ';
  </code></pre>
  
  <p>Gives me a result of </p>
  
  <pre><code>' . $showexpenses . '
  </code></pre>
  
  <p>instead of the actual sum...</p>
  
  <p>I'm sure it's something simple I'm missing... thanks!</p>