title: PHP - include a php file and also send query parameters
body: <p>I have to show a page from my php script based on certain conditions. I have an if condition and am doing an "include" if the condition is satisfied.</p>
  
  <pre><code>if(condition here){
    include "myFile.php?id='$someVar'";
  }
  </code></pre>
  
  <p>Now the problem is the server has a file "myFile.php" but I want to make a call to this file with an argument (id) and the value of "id" will change with each call.</p>
  
  <p>Can someone please tell me how to achieve this?
  Thanks.</p>