script
if (screen.width1064)
{
document.write(link src=\style1.css\ type=\text/css\
rel=\stylesheet\);
}
else
{
document.write(link src=\style2.css\ type=\text/css\
rel=\stylesheet\);
}
/script
or use cookie, js write screen.width to cookie,then php read
screen.width from cookie.
Ross schrieb:
$width = script document.write(screen.width); /script;
//$ross= intval($width);
Yes, this is and will always be zero, because you are evaluating a
string to an integer value.
echo $width;
if ($width 1064) {
echo lower;
$style= style1.css;
}
else {
$style= style2.css;
bit off the point but...
Oliver Grätz wrote:
Ross schrieb:
$width = script document.write(screen.width); /script;
//$ross= intval($width);
Yes, this is and will always be zero, because you are evaluating a
for his paricular $width string, yes.
string to an integer value.
Have you looked at what the value of what $result is? It might be
informational.
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Jeffrey Means) wrote:
In using the setcookie function I can not set a cookie if I specify a time
period. ie. setcookie(Cookie_Name, Cookie_Value, time()+30); will not
set a cookie, but setcookie(Cookie_Name, Cookie_Value); does work. What
On 22 May 2001, Chris Searle wrote:
Adrian == Adrian D'Costa [EMAIL PROTECTED] writes:
Adrian // sql statement $searchStmt = select special.contid,
Adrian special.cityid, special.curr1, special.catalogo,
Adrian special.hf, special.curr2, special.vitofferta, special.fh,
6 matches
Mail list logo