title: How to send multiple values in a href link in PHP?
body: <p>I want to send multiple values to a different page using a <code>href</code> link. But what I retrieve is the first 2 values only, rest shows an error of undefined index.</p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;?php 
  
  echo "&lt;a href='index.php?choice=search&amp;cat=".$cat."&amp;subcat=".$subcat."&amp;srch=".$srch."&amp;page=".$next."'&gt; Next &lt;/a&gt;";
  
  ?&gt;
  </code></pre>
  
  <p>I get the values of "choice" and "cat" only.
  Please tell me whats wrong in the above code.</p>