Answers for "screen width in php"

PHP
0

php get screen width

<button onclick="myFunction()">Try it</button>

<p id="demo"></p>

<script>
function myFunction() {
  var x = "Total Width: " + screen.width + "px";
  document.getElementById("demo").innerHTML = x;
}
</script>
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language