do u mean php file . well if u talk about php template then may be you need template for your scripts every scripts has his own template code . so write more about your scripts pleaseregardseyes
Because php is a server based language I don't think there is anyway to see it using something like Dreamweaver.
A lot of the display portions of a php script is just standard html and that you can edit in a WHYSIWG editor if you are very careful. I did it that way for a couple of years until I realized it was just plain easier to hand code it than to mess with the editor.
I must confess that ever now and then I still fire up Frontpage for something out of the ordinary just to see the code and than I remove the ever present crap code and hand code whatever it was.