js is client-side, php server side...
it can't work

fabien

 Chrome wrote:
 > How about
 >
 > <?php $js = true; ?>
 >
 > <noscript>
 >       <?php $js = false; ?>
 > </noscript>
 >
 > <?php
 > if ($js)      {
 >       // whizzy Ajax code (or file include)
 > } else {
 >       // generic warning (or include non-JS base file)
 > }
 > ?>
 >
 > I know that would work but does it give the desired effect?
 >
 > Dan
 >
 >
 > -------------------
 > http://chrome.me.uk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to