title: Setting PHP variable in <noscript>
body: <p>Something like the below does not work:</p>
  
  <pre><code>&lt;?php $nojs = false; ?&gt;
  &lt;noscript&gt;
      &lt;?php $nojs = true; ?&gt;
  &lt;/noscript&gt;
  </code></pre>
  
  <p>As the PHP is executed regardless if JS is enabled or not. But is there a way to get a similar effect? I'm trying to set a flag if JS is disabled and then display parts of the page accordingly.</p>