Hello,

I would like to find out the browser width's numeric value.

Code:
<?php
$width = " <script>document.write(window.outerWidth); </script>";
echo $width;
Gets the value but say i try add 1 to it

Code:
<?php

echo $width + 1;
This just prints 1.... since i wanna add it to an if statement like this

Code:
if ($width < 1280){

$bla = "this";

}
else {
$bla = "that";
}