Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/3142-dreamweaver-newbie-needs-help/
Share on other sites

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

[!--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)

  • 3 weeks later...

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--]

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.