php in javascript
<p>The javascript works fine without the php part but it needs to redirect and keep the link information how to do this ??</p>

<pre><code>&lt;script&gt;
if(navigator.userAgent.indexOf("Firefox") != -1)
{
   window.location = "demo2.php?skin=&lt;?php echo $_GET["skin"]; ?&gt;";
}
&lt;/script&gt;
</code></pre>

<p>works :</p>

<pre><code>&lt;script&gt;
if(navigator.userAgent.indexOf("Firefox") != -1)
{
   window.location = "demo2.php?skin=&lt;?php echo $_GET['skin']; ?&gt;";
}
&lt;/script&gt;
</code></pre>
