Inline javascript checks in PHP
<p>I was trying to use <code>&lt;script&gt; &lt;noscript&gt;</code> checks inline with my PHP to render different form elements depending on weather or not someone has javascript enabled.</p>

<p>To display something to non enabled users <strong>only</strong> I can successfully use </p>

<pre><code>&lt;noscript&gt; &lt;?php ... ?&gt; &lt;/noscript&gt;
</code></pre>

<p>To display something to enabled users <strong>only</strong> I tried whats below but it does not work the same as above.  Instead it allows all users to still see the PHP.</p>

<pre><code>&lt;script&gt; &lt;?php ... ?&gt; &lt;/script&gt;
</code></pre>

<p>How can I limit something to only those with javascript enabled without having two totally different pages?</p>
