title: PHP echo and use of &
body: <p>I have a variable specified earlier in my script and using the &amp; character, otherwise the script errors out with EntityRef: expecting ';' when using a &amp; character:</p>
  
  <pre><code>$url = "http://www.domain.com/residential?frame=RESI&amp;amp;MLNumber=";
  </code></pre>
  
  <p>The problem is that later in the script I use this variable like:</p>
  
  <pre><code>echo '&lt;link&gt;' . $url . '' . $title . '&lt;/link&gt;';
  </code></pre>
  
  <p>The problem is that the end result is a bad URL like this:</p>
  
  <pre><code>http://www.domain.com/residential?frame=RESI&amp;amp;base=frames&amp;amp;MLNumber=26524589
  </code></pre>
  
  <p>How do I resolve this?</p>