[Resolved] Create an "if mobile/table then echo" php for website.
There is a specific page on my website that when a person is viewing it through a phone or tablet I want it to say:
“Click for more information”
This is because the way my responsive java works when you hover over and object on the computer it pops up information, but on the mobile and tablet site you need to “click” on it to show the information.
I figured it would be a php solution as an “if screen resolution = x then echo “Click for more information”
I am not sure if I am in the right direction or if there would probably be a java solution.
If anyone could help that would be awesome.
- The topic ‘[Resolved] Create an "if mobile/table then echo" php for website.’ is closed to new replies.