$_GET undefined index
<p>By passing a js variable to php code it displays a value at the end of the program.</p>

<p>But the problem is no mather what i try to initialise it with the score disapears at the end.</p>

<p>If i leave it alone everything displays as it should, but with the annoying undefined message until the last screen (where the value actually gets displayed).</p>

<pre><code>$varOne = $xml-&gt;addChild('one', $_GET['resultone']);
</code></pre>

<p>The variable in the js is being past by using <code>window.location.href</code></p>

<p>I have tried several isset ways but none of them seem to have succeeded in resolving this annoying problem.</p>

<p>Kind regards.</p>
