title: problem in php mysql_query()
body: <p>I have the following table:</p>
  
  <pre><code>table name: down
  fields: id, key
  and value in it is...
  1, 1233
  </code></pre>
  
  <p>where id has INT 11 primary key and key is varchar</p>
  
  <p>and my query is </p>
  
  <pre><code>SELECT * FROM down WHERE key='1233'
  </code></pre>
  
  <p>but it is not working please let me know what is actually the problem...</p>
  
  <p>and giving me the following error</p>
  
  <blockquote>
    <p>You have an error in your SQL syntax;
    check the manual that corresponds to
    your MySQL server version for the
    right syntax to use near
    'key='5SD66R104'' at line</p>
  </blockquote>