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