EdgeWalker Posted January 4, 2006 Share Posted January 4, 2006 I have been using PHP and MySQL for some time now, hand-coding everything in plain text editors. My new boss is insisting that I learn Dreamweaver MX (because that is what he has), so I sat down with it today. I can NOT get it to work with my PHP files though. I can open, create, and edit any kind of file, but when I open or create a PHP file I can't do anything other than enter plain text. All of the tools go dim, and I am unable to take advantage of any of the supposedly useful features of Dreamweaver. Basically I am stuck with a very hoggish text editor when looking at php files. Any advice? What might I be doing wrong here? Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/ Share on other sites More sharing options...
Drumminxx Posted January 4, 2006 Share Posted January 4, 2006 I have been using dreamweaver for quite sometime and have just recently upgraded to dreamweaver 8 and like your boss, I wouldn't code php with anything else. Color coding makes life easier I have never experienced the problems your having though, for starters, I would just try a uninstall and reinstall and see if that helps Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-10584 Share on other sites More sharing options...
moberemk Posted January 4, 2006 Share Posted January 4, 2006 DMX doesn't have very much ability when it comes to PHP. Dreamweaver considers PHP files to be HTML files with PHP code inside, not echo commands. Therefore, your all-code pages won't work there. Sorry. Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-10589 Share on other sites More sharing options...
EdgeWalker Posted January 4, 2006 Author Share Posted January 4, 2006 [!--quoteo(post=332992:date=Jan 3 2006, 06:30 PM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Jan 3 2006, 06:30 PM) 332992[/snapback][/div][div class=\'quotemain\'][!--quotec--] DMX doesn't have very much ability when it comes to PHP. Dreamweaver considers PHP files to be HTML files with PHP code inside, not echo commands. Therefore, your all-code pages won't work there. Sorry. Yes, the files I have been using so far have been pure PHP, no HTML in them at all, save for inside some echo commands. So how do I work around this? So are you saying that to use DMX with PHP, I should just create my HTML files and put PHP in them, save them with a php extension, but let DMX create them "as" html? (And on a side note, notepad++ is quite sufficient for making coding easier as far as visually enhancing the code for understandability. If that's the only reason for using Dreamweaver, it's not worth it. If I can't take advantage of any of the WYSIWYG features for layout, or the organizational features for large site management, I might as well continue to hand-code in notepad++., or use zend or something cheaper or open-source) Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-10605 Share on other sites More sharing options...
chris9902 Posted January 5, 2006 Share Posted January 5, 2006 You have to tell dreamweaver the type of file it is. go to new then you should see a window with things like templates etc. choose PHP and then start working with it. That is what happens with DW8 anyway. It's kinda silly really. Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-10612 Share on other sites More sharing options...
degsy Posted January 5, 2006 Share Posted January 5, 2006 Have you created a site? Have you created a testing server for PHP? You can do both from Site>manage Sites on the menu bar Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-10613 Share on other sites More sharing options...
jeremywesselman Posted January 21, 2006 Share Posted January 21, 2006 What "mode" are you typing the code in? There is a "Code", "Both" OR "Design". Just checking all of the facts... FYI: You'll want to be in "Code" Mode if you don't already know. [!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Jeremy[!--colorc--][/span][!--/colorc--] Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-11035 Share on other sites More sharing options...
moberemk Posted January 21, 2006 Share Posted January 21, 2006 There's no "Both" mode, just a "Split" mode that opens a separate code menu at the top. Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-11040 Share on other sites More sharing options...
trav Posted January 24, 2006 Share Posted January 24, 2006 This is kind of a stupid question, but i have been useing dreamweaver for several years now, but i mainly use it for creating the html the way i want and then put in the php or echo the stuff i need to make it dynamic, recently a friend of mine said that dreamweaver can manage variables and other dynamic features of php and mysql, is it worth it to try to use these features or are do they overly complicate things. Quote Link to comment https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/#findComment-11093 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.