title: select and echo a single field from mysql db using PHP
body: <p>Im trying to select the title column from a particular row</p>
  
  <pre><code>$eventid = $_GET['id'];
  $field = $_GET['field'];
  $result = mysql_query("SELECT $field FROM `events` WHERE `id` = '$eventid' ");
  echo $result;
  </code></pre>
  
  <p>all i get is <code>Resource id #19</code> </p>
  
  <p>How should i do this? What is best method?</p>