Hello how would you use this code to display the screensize ?
this is what i have so far but its not working
function screensize(){ $screensize = $_SERVER['HTTP_X_UP_DEVCAP_SCREENPIXELS']; echo "$screensize"; }
screensize();
im noob when it comes to php just started with it please explain the problem in detail thanks