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:
$RandInt=rand(1, 2);
$query="SELECT 'text' FROM quotestable WHERE 'ID' = $RandInt";
mysql_result($query, 1);
Warning: mysql_result() expects parameter 1 to be resource, string given