include not working for some reason
<p>In my php code there is a section which needs to be retrieved from another php file. 
I tried accomplishing this by:</p>

<pre><code>include "teams.php?id=".$matchid;
</code></pre>

<p>and in the teams.php </p>

<pre><code>$matchid = $_GET['id'];
echo "MATCH ID IS ".$matchid;
</code></pre>

<p>The problem is when i open teams.php?id=".$matchid directly it displays the match id fine</p>

<p>however the include doesn't work - i checked the source code of the original page - no code is being inserted. Is there a way to do what i want? I need to get php code from another file whilst passing 2 variables onto that file</p>
