title: Querystring url encode
body: <p>i am getting a querystring parameter like companyname=Larson&amp;tubro. Its a single string. But my script is just breaking it after '&amp;'. What is the solution to take this as a single string in PHP. I tried like the below:</p>
  
  <pre><code> &lt;A onclick="window.open('comparitive_files/price_add.php?supplier_name= + urlencode({$supplier_name})&amp;amp;tender_id={$tender_id}','mywindow','width=1200,height=800,scrollbars=yes,resizable=yes')" 
    href="#"&gt;
  </code></pre>