title: PHP won't recognize quotation marks from html form
body: <p>I am using a very basic html form with submit button which calls my PHP which handles the input. The problem is my PHP will not recognize the " mark when I try to str_replace. Here is my PHP: (Note- the html text field input is pasted in from google docs)</p>
  
  <pre><code>&lt;?php
  
      $article = $_POST['article'];
          //This contains: “This has quotes” from my html input field
  
      echo str_replace("”", "quote", $article);
          //Returns the input, without quote replacement
      echo addslashes($article);
          //Does not add slashes
  
  
      $quotes = "“This has quotes”";
  
      echo str_replace("“", "quote", $quotes);
          //Returns quoteThis has quotesquote as it should
  
  
  ?&gt;
  </code></pre>
  
  <p>So, what about the HTML input is causing the input quote to not be recognized, and is there a way to fix this problem? Thank you!</p>