title: How to use ampersands in PHP GET URL variable (or function argument)?
body: <p>I've got the following code (this is WordPress function) (example of wrong structure):</p>
  
  <pre><code>&lt;?php paginate_comments_links('prev_text=&amp;#x2190;&amp;nbsp;Older&amp;next_text=Newer&amp;nbsp;&amp;#x2192;'); ?&gt;
  </code></pre>
  
  <p>Example of correct structure:</p>
  
  <pre><code>&lt;?php paginate_comments_links('prev_text=Older&amp;next_text=Newer'); ?&gt;
  </code></pre>
  
  <p>As you can see I'm trying to add preceding arrow + space (<code>&amp;#x2190;&amp;nbsp;</code>) to 'Older' word and space + arrow (<code>&amp;nbsp;&amp;#x2192;</code>) to 'Newer' word. The problem is that there is a conflict between &amp; that separates 2 function arguments and &amp; that is the beginning of HTML character.</p>
  
  <p>How should correct structure look like?</p>