title: converting & to &amp; for XML in PHP
body: <p>I am building a XML RSS for my page. And running into this error:</p>
  
  <pre><code>error on line 39 at column 46: xmlParseEntityRef: no name
  </code></pre>
  
  <p>Apparently this is because I cant have &amp; in XML... Which I do in my last field row...</p>
  
  <p>What is the best way to clean all my <code>$row['field']'s</code> in PHP so that &amp;'s turn into <code>&amp;amp;</code></p>