abou desktop redirection from mobile(switch to desktop view)
I'm using this code to direct the users from desktop version to my mobile site. http://mywebsite.com/mobile'); ?> i would like to give the users the option to switch back to desktop version from the mobile website but this code will redirect them back to mobile site. I was wondering if i can create an if statement to force the browser to stay on that page. for example if i can link back from mobile website using www.mywebsite.com?device=desktop and modify the code to recognize the url. my knowledge of PHP is limited so any help would be greatly appreciated.