$screenWidth = '<script type="text/javascript">document.write(screen.availWidth);</script>';
$screenHeight = '<script type="text/javascript">document.write(screen.availHeight);</script>';
$numberAdded = 40;
$calculation = $screenWidth/($screenHeight+$numberAdded);

echo '1600x900';

my monitor's resolution is 1600x900 when i obtain the width and height using javascript so i obtained the right width but height was subtracted by 40 so i made the necessary changes can anyone tell me why the heck this code is not echoing 1600x900