title: Apostrophe in php query doesn't work
body: <p>I have a table that contains name of movies and other things and in my php page I want to select some of that movies..</p>
  
  <pre><code>$sql3 = "SELECT * FROM Movies where Movies.nameM='{$row['nameM']}';";
  </code></pre>
  
  <p>This query crashes when the <code>nameM</code> (name of movie) has an apostrophe in its name :/</p>
  
  <p>How can I change this to work well?</p>
  
  <p>Thanks for your help</p>