title: how to pass the url value in curl php
body: <pre><code>$description = "some test data and url";
  $description .="http://www.mydata.com?test=1&amp;user=4&amp;destination=645&amp;source=stackoverflow";
  
  curl_setopt($sch, CURLOPT_URL, "myserverurl");
  curl_setopt($sch, CURLOPT_HEADER, 0);             
  curl_setopt($sch, CURLOPT_POST, true);
  curl_setopt($sch, CURLOPT_RETURNTRANSFER , 1);
  curl_setopt($sch, CURLOPT_POSTFIELDS, "orgid=$orgid&amp;description=$description&amp;external=1");
  curl_setopt ($sch, CURLOPT_SSL_VERIFYHOST, 0);
  curl_setopt ($sch, CURLOPT_SSL_VERIFYPEER, 0); 
  </code></pre>
  
  <p>when i check on the server (myserverurl).</p>
  
  <p>I can see the description field like </p>
  
  <p>"some test data and url <a href="http://www.mydata.com?test=1" rel="nofollow noreferrer">http://www.mydata.com?test=1</a>".</p>
  
  <p>i lost the description after '&amp;'</p>
  
  <p>yes , we can encode the url before sending with curl, but i do not have access to decode the url again on that third party api server</p>