title: How To Read Currunt URL and get specific elements from it
body: <p>I have the following URL creating dynamically "<a href="http://mxcounters.com/gorilla-crowd/?page_id=4994?company_id=11" rel="nofollow">http://mxcounters.com/gorilla-crowd/?page_id=4994?company_id=11</a>" i want to read company_id from it. as each time it will be changed coming from previous page:
  I have tried as follows but its showing empty variable</p>
  
  <pre><code>   $company_id = $_GET['company_id'];
     echo $company_id;
  </code></pre>