I’m just about to start a small mobile site that will be written in PHP. I am aware of the design principles of developing for mobiles, my question is more to do with the compatability of PHP on mobile devices. It is:
If I use PHP to make this mobile site (which will render in the client’s mobile browser as good old HTML) will I run into any compatability problems?
As far as I can see, because PHP is a server side language, as long as it serves mobile friendly HTML, I should be able to do everything I please in PHP in my scripts? Is this correct? Or will iPhones, Android Mobiles and various Fondle Slabs refuse to render a xxx.php file?
You’re right that it’s a server-side technology. The browsers (whether mobile or desktop) will not care that it’s PHP as it will never see anything but the html/js that is rendered from your PHP scripts.