In PHP, you'd use something like:
$row = mysql_fetch_array(mysql_query("SELECT * FROM tblname WHERE fieldname='contents'"));
And then address it in your script using echo like this:
echo $row['fieldname'];
There's no point neglecting things from your query, it won't save much time and will waste the time it takes to type it really. You might need to use the other information later anyway.
-Luke.