Originally posted by jazappi
I know in MX the integrated HomeSite Code Editor within Dreamweaver and it is setup to handle some PHP. You can also go into Edit --> Preferences and find the Code Format in that screen there is a tag library editor. You can customize code there so it doesn't reformat it.
Thats the hard way of solving this problem. DWMX has support for PHP so as long as your file has a ".php" extension it will not change your opening and closing <?php ?> tags.
The only reason DWMX will change your code is if it thinks you have bad HTML. So (in MX) go "Edit" > "Preferences" > "Code Rewriting" Tab > And Uncheck everything. Hit OK.
And just like that - it won't change your code again, ever. Even if it is bad code.
Originally posted by jazappi
Question is, Is it worth it? Nope. Go get HomeSite and edit them by hand coding, works better and you don't have to worry about that auto code monkey Dreamweaver had running around jacking up your code.
Question is, Is that a good idea? Nope. Not if your using DWMX. (Thats like throwing away your XBox and buying a Gameboy instead.)
If you are using DW4 or older then yes. Because DW4 and older was before they added support for PHP. Homesite is now owned by Macromedia and all future support for that now-dead program will be given BY Macromedia. Through Dreamweaver MX.