I'm just learning PHP now. For a month or so I wondered if there would be a program that would write the code for me so I shouldn't learn it. In the same way you can build up a whole HTML site without knowing a single line of HTML using Dreamweaver, I wondered if there would be a program that could do the same with PHP. And as far as I know, the answer is no. That's why I'm learning finally to code myself.
About Dreamweaver, as far as I know, it can do a few useful things, but you won't get very far unless you know PHP yourself. Too bad, I love Dreamweaver and would prefer 100 times to just tell it what I want I it will code for me the entire site as it does with HTML.
To write my code I'm useing Zend Studio. The debug feature is very useful for me. I know there are other cool editors like PHP Edit, which is free. Nobody mentioned them here, while I'm hearing "wordpad" lots of times. Why? A PHP editor can help very much in writng your code (autocomplete, debug, support, etc...)
However, I'm just a newbie, as I said. Just writing my own first conclusions on the subject...