Thanks everyone for all the help
However:
thorpe wrote:as someone stated earlier, php is server side and has nothing to do with browsers (client-side).
php may well be server-side but there is no reason why a web browser cannot recognise the .php extension and compile the code as it does with an .htm extension. The same with Windows Explorer. I understand that .php is new which is probably why it is not recognised by such programmes.
I have done a fair amount of exploration about setting up my computer as an off-line web development environment. So far I have apache and php running with Explorer as my browser when pointed to 'localhost'. Whether or not I can also get MySql and phpMyAdmin to work off-line I have yet to find out given that the config for MySql asks for a URL. Can I use http:/localhost for the URL?
I do not want to experiment with MySql on-line with my web host because of obvious vulnerabilities I might expose myself and them to. When reading about how to use these programmes on all the web sites I have visited I am still confused about what environment is being discussed. I don't believe that people do their web development on-line. My webhost uses Apache. Until I opted to write in php I didn't need Apache on my computer. I haven't got Apache because I intend to operate as a web server. I've got it to develop php capability on my web page off-line and have it tested before I upload. Part of that capability is database, which is why I also have MySql. Am I able to use that off-line for development purposes?
There's plenty of documentation for installing these programmes for the net but not much help in terms of the above.