Answer the question
In order to leave comments, you need to log in
How to make php change the code depending on the device and screen size?
How to do something in php like in css the code changes depending on the screen size or device?
For example, if your screen size is more than 800px, then one action was performed, and if it is smaller, then another.
Answer the question
In order to leave comments, you need to log in
a bunch of libraries for device detection, for example mobiledetect.net
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question