title: Last parameter of my URL it's splitting (i'm using zxing qr scan, php and prefix and suffix variables)
body: <p>I have a API of parking car, and i use it like for example: (i will show the real code) www.site.com/ticket/{NUMBER OF TICKET}/uid=31231&amp;apikey=123123 (this last parameter, the api key don't appear on final link but the uid parameter yes)</p>
  
  <p>Well.. I'm using ZXING to generate the ticket as I use... so I have a QR with only text (number of ticket). And the code:</p>
  
  <pre><code>&lt;form action="#"&gt;&lt;method="post"&gt;
  &lt;?php
  $prefixoconsulta = "http://zxing.appspot.com/scan?ret=https://demonstracao.parkingplus.com.br/servicos/2/ticket/";
  $sufixoconsulta = "?udid=1234&amp;apiKey=123123";
  $url=$prefixoconsulta . ' ' . $sufixoconsulta;
  ?&gt;
  
  (&lt;a href="&lt;?php echo $prefixoconsulta ?&gt;{CODE}&lt;?php echo $sufixoconsulta ?&gt;"&gt;Ler QR Code&lt;/a&gt;):
              &lt;input type="text" name="cod" value=""/&gt;
           &lt;input type="submit" value="Submit"&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>So... i need to return a url like this:</p>
  
  <p><a href="https://demonstracao.parkingplus.com.br/servicos/2/ticket/55432411?udid=1234&amp;apiKey=123123" rel="nofollow noreferrer">https://demonstracao.parkingplus.com.br/servicos/2/ticket/55432411?udid=1234&amp;apiKey=123123</a></p>
  
  <p>But i have a url like this: :-(</p>
  
  <pre><code>https://demonstracao.parkingplus.com.br/servicos/2/ticket/55432411?udid=1234
  </code></pre>
  
  <p>So... the prefix and suffix variables are correct because the uid go to link, but the last parameter for some reason don't go. </p>
  
  <p>Maybe the "&amp;" it's splitting my url? I will keep trying a solution, if I have success i post the solution here, thanks in advance.</p>