title: mySQL problem when retrieving result with quotation marks
body: <p>I'm having a problem with an SQL query on a php page.</p>
  
  <p>I'm pretty new to php so stick with me.</p>
  
  <p>I have successfully created a query to select everything, but I want to include a <code>WHERE</code> in the query. The trouble is that the result includes quotation marks because it is html code.</p>
  
  <p>I'm sure this is simple but can anyone help... problem code below:</p>
  
  <pre><code>$result = mysql_query("SELECT * FROM myTable WHERE text = '&lt;span class="myclass"&gt;Here is my text&lt;/span&gt;'");
  </code></pre>