title: query without loop
body: <p>I want to query from the db records for a single post (title, body, date)</p>
  
  <p>For example I have my query.. </p>
  
  <p><code>$query = 'SELECT * FROM posts WHERE id=$post_id';</code></p>
  
  <p>From that query how can I echo the title for instance without a while or foreach loop?</p>