I did this :
CODE
$width = " <script>document.write(screen.width); </script>";
I tested if $width get the value, with this:
echo $width;
And, is ok, but when i multiply $width with any value, I got $width = 0;
example;
My Screen is at 1024 by 768 so:
$width = "<script>document.write(screen.width); </script>";
echo $width; ---------------> 1024
$width = $width * 2;
echo $width; ------------------> 0
Please, Can someone tell me why? and is there a manner to do this!!
Thank's
kservice

