Re: Output (Urgent!)
| From: | Jason Rennie | Date: | Tue, 17 Jul 2001 11:01:26 +0000 |
| Subject: | Re: Output (Urgent!) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58226@lists.php.net to get a copy of this message | ||
> $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