Re: Re: why does this not work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


$butThereIsAlwaysAtLeast = "1 exception to every rule";
var_dump(intval($butThereIsAlwaysAtLeast));


good points about CSS/design btw :-)
...and solving the OPs problem.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux