title: php variable in sql query
body: <p>I have this:</p>
  
  <pre><code>$result = mysql_query("SELECT * FROM animals WHERE hand= " .$_SESSION['SESS_HAND']. ");
  </code></pre>
  
  <p>But always shows "Parse error: parse error, expecting <code>T_STRING' or</code>T_VARIABLE' or `T_NUM_STRING"</p>