> $resolution = "<SCRIPT
> LANGUAGE=\"JavaScript\">document.write(screen.width)</SCRIPT>";
>
> if ($resolution >= '1024') {
> $resolution = "1024";
> } else {
> $resolution = "800";
> }
> echo $resolution;
>
> It always output 1024
At a guess becasue your mixing and matching languages.
If you got the input from a hidden field in a form (perhaps an entry
page?) then it would be possible to get the data you want.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]