title: How I can create multiple request get/post page url
body: <p>How I can create multiple get/post request in page URL?</p>
  
  <p>Like this:</p>
  
  <pre><code>http://www.example.com/?goto=profile&amp;id=11326
  </code></pre>
  
  <p>I already tried with this:</p>
  
  <pre><code>$doVariableprofile = isset($_GET['goto']) ? $_GET['goto'] : null;
  if($doVariableprofile == 'profile') {
  if(empty($_SESSION['logged'])) require_once('register.php');
  }
  </code></pre>
  
  <p>how i can add more request? 
  now i have <a href="http://www.example.com/?goto=profile" rel="nofollow noreferrer">http://www.example.com/?goto=profile</a></p>
  
  <p>i trying do this <a href="http://www.example.com/?goto=profile&amp;id=1" rel="nofollow noreferrer">http://www.example.com/?goto=profile&amp;id=1</a></p>
  
  <pre><code>        $testt1 = isset($_GET['goto']) ? $_GET['goto']:null;
  if($_GET['goto'] == 'profile?id=".$_GET['id']"'){
  
  
  require_once('profile.php');
  
  }
  </code></pre>
  
  <p>Doesn't work page when I add to profile?id="$_GET['id']"')</p>