Can I send like custom headers?
header ("Resolution: 1024");
and echo it in the phpscript?
Can I do this or is it a silly question?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
You can let PHP talk w/ JavaScript and not the reverse!
>
>
>if (screen.width >= 1024) {
> var resolution = "1024";
>} else {
> var resolution = "800";
> }
> document.write(resolution);
>
>
> btw, why don't
This fixed it, but I don't like it! If you have any other suggestions, feel
free to email me.
if (screen.width >= 1024) {
var resolution = ("1024")
} else {
var resolution = ("800")
}
Best Regards
Fredrik A. Takle
"Fredrik A
--
PHP General
Why doesn't this work? Any ideas?!
$resolution = "document.write(screen.width)";
if ($resolution >= '1024') {
$resolution = "1024";
} else {
$resolution = "800";
}
echo $resolution;
It always output 1024
Best regards
Fredrik A.
4 matches
Mail list logo