title: JQuery $.get containing single quote and PHP returns backslash for single quote
body: <p>I'm sending data from client(javascript and Jquery library in particular) to server(running in PHP). The information I send is as follow:</p>
  
  <p>From Chrome Dev Tool -> Network</p>
  
  <pre><code>Request URL:http://host:8888/RoviImages.php?id=880&amp;aid=334&amp;albumTitle=The+Lion%27s+Roar&amp;albumId=MW0002231494
  Request Method:GET
  Status Code:200 OK
  
  Query String Parameters
  id:880
  aid:334
  albumTitle:The Lion's Roar
  albumId:MW0002231494
  </code></pre>
  
  <p>The client code is:</p>
  
  <pre><code>var data = {id: song_id, aid: aid, albumTitle: albumTitle, albumId: albumId};
  $.get(request_url, data)
  </code></pre>
  
  <p>Checking the information before sending it I get the albumTitle as "<strong>The Lion's Roar</strong>"</p>
  
  <p>When PHP received the information the first thing I do is to print it.</p>
  
  <pre><code>$albumTitle =    $_GET['albumTitle'];
  error_log('Album Title = ' . $albumTitle);
  </code></pre>
  
  <p>This returns me with "<strong>Album Title = The Lion\'s Roar</strong>".</p>
  
  <p>After processing the information I echo the response to javascript using <strong>json_encode</strong>. Javascript get the response and when it decodes it through <strong>JSON.parse</strong> the result is "<strong>The Lion\'s Roar</strong>". </p>
  
  <p>So basically it gets in to the server but I get it back with changes. Why?</p>