title: Pass multiple variables via URL and reading all of them on next page
body: <p>I have a link that points to a webpage e.g. "land.php".
  The link looks like this:</p>
  
  <pre><code>&lt;a href="land.php?id=1&amp;cd=a"&gt;link&lt;/a&gt;
  </code></pre>
  
  <p>this takes me to the page land.php where I can read the first parametere with <code>$id</code> (and it is equal to 1, correctly), but I cannot read the second one. I either tried with <code>$cd</code> or <code>$_GET['cd']</code>. None of them works.</p>
  
  <p>if I tried <code>isset($cd)</code> it says <code>false</code>. Same thing for <code>isset($_GET['cd'])</code>.</p>
  
  <p>How can I pass the second parameter too (and read it!)?</p>
  
  <p>EDIT:</p>
  
  <p>some code (so people are happy. I think it's pointless in this case..).</p>
  
  <p>land.php</p>
  
  <pre><code>&lt;?php
  if($_GET['cd']==a)
      echo "&lt;h2&gt;HI&lt;/h2&gt;";
  else
      echo "&lt;h2&gt;BY&lt;/h2&gt;";
  ?&gt;
  </code></pre>
  
  <p>if I use <code>$cd</code> instead of <code>$_GET['cd']</code> it doesn't work anyway..</p>
  
  <p>EDIT2 I don't get any syntax error, it just doesn't behave how expected.</p>