title: Want to echo variable value submitted to url by different request
body: <p>What I want to do is that as follows:</p>
  
  <p>I sending the variable to the server <code>http://www.example.com/sample.php?id=123</code> using get method, on that page I wrote an code </p>
  
  <pre><code>$var=$_GET['id']  
  echo $var; 
  </code></pre>
  
  <p>but it's not working.</p>
  
  <p>Please help on this issue. How can I echo the variable value which is submitted by other code? Or is there any way to store that variable to some file when request made to server?</p>