title: Simplest way to detect a mobile device in PHP
body: <p>What is the simplest way to tell if a user is using a mobile device to browse my site using PHP?</p>
  
  <p>I have come across many classes that you can use but I was hoping for a simple if condition! </p>
  
  <p>Is there a way I can do this?</p>