I have a website, example.com, and I want to know if there is a way when a mobile user visits it, it will automatically change to the mobile version. I want the mobile version to be a different layout to my current website, as a mobile version it would really work.
The only problem I see now is, I have a page for each thing I want to show, and I use PHP includes.