title: I want to show a single thing of a row (PHP)
body: <p>I just one to show one thing. Randomly generated with an ID. Every ID has a string of text. I want to show the string only. I get an error when I try this:</p>
  
  <pre><code>$RandInt=rand(1, 2);
  $query="SELECT 'text' FROM quotestable WHERE 'ID' = $RandInt"; 
  mysql_result($query, 1);  
  </code></pre>
  
  <p>Warning: mysql_result() expects parameter 1 to be resource, string given</p>