trying to use PHP extract() within a function
<p>I have the two following files:</p>

<p>main.php</p>

<pre><code>include("functions.php")  
__EXTRACT();  
echo $testvar;
</code></pre>

<p>functions.php</p>

<pre><code>function __EXTRACT(){
extract($_POST, EXTR_SKIP);
}
</code></pre>

<p>However, having a form with a textbox called testvar I can't get the extract function to extract the data.. if I remove the function call and insert it the extract statement directly into main.php it works. The include is not a problem as other functions in it works. Any ideas?</p>

<p>Cheers</p>
