Quote:
|
Originally Posted by mlitney
Hi, I'm pretty new to programming in general and was wondering if anyone could help me out with a few newb questions? I would like to write some simple code as I'm learning and I have dreamweaver but it doesn't seem to be working for me. I create a new PHP project and type my code, then I try to preview in browser but only html shows up. Is there something I haven't configured, cause I have no idea why it isn't working. I have DreamweaverMX 2004 and am using Windows XP.
I know its probably something that would seem stupid to a seasoned programmer but I would appreciate any help, thanks!
|
I doesnt seem stupid, it just seems not knowing... the preview can just show the html code as long you dont have a webserver running on your local machine, php enabled... php is a server-sided language, means it is processed at the servers php engine and then sent back to the browser, but just html code. So you will either have to load every script up to some internet provider who provides php to make a preview or you will have to install apache + php on your local computer. There are some packages (WAMP environments) -> Windows, Apache, MySQL, PHP like PHPtriad which consists of just one installer for all 3 features... you should try it...