title: Substrings after the & sign are missing
body: <pre><code>$mystring = "DTI ORIENTATION: CONSUMER PROTECTION &amp; LEMON LAW";
  </code></pre>
  
  <p>After doing this, </p>
  
  <pre><code>$mystring = htmlspecialchars("DTI ORIENTATION: CONSUMER PROTECTION &amp; LEMON LAW");
  </code></pre>
  
  <p>I'm now getting an echo of just "<strong>DTI ORIENTATION: CONSUMER PROTECTION</strong>". 
  Even if I removed the <strong>htmlspecialchars</strong> after, the string is different now. </p>
  
  <p>The words after the <strong>&amp;</strong> sign are missing along with it. What just happened? I just want to make the <strong>&amp;</strong> sign to be included in my string to be used in mysqli_query. Please enlighten me on this one. Thank you.</p>
  
  <p>code from file1.php:</p>
  
  <pre><code>$(".t_title").click(function(){
              var title = $(this).data("title");
              var training_date = $(this).data("tdate");
  
              location.href = "viewTrainingAttendees.php?title=" + title + "&amp;tdate="+ training_date; 
          });
  </code></pre>
  
  <p>code from viewTrainingAttendees.php:</p>
  
  <pre><code>&lt;?php 
                          $ttitle = $_GET['title'];
                          echo $ttitle;
  
                       ?&gt;
  </code></pre>