stanleystone69x
-
Posts
3 -
Joined
-
Last visited
Posts posted by stanleystone69x
-
-
How can i Add Screen Resolution to PHP Variable and Echo it?
i am quite confused on how to do this as getting resolution is done in javascript right?
Please help me with this. i have coded my first wordpress theme and this is the only part i am stuck at
p.s. I want to save screen height in different variable and screen width in different variable.
How can i Add Screen Resolution to PHP Variable and Echo it?
in PHP Coding Help
Posted
Yes i do,
this wp theme i made its a wallpaper site theme : http://wpthemetest.in : see the top right corner. "Your Desktop : 1920 x 1080" i want to make this display the actual resolution of the user, currently it is showing just static text. also once i am able to add width and height to php variable i will be able to use those value in wallpaper download option too.
can you please write me the code for this if its not too long, i would really appreciate that