Using Dreamweaver MX.

Sometimes my PHP scripts display in Design View not as the normal little yellow square, but instead as </MM HIDDENREGION>. I can't seem to figure out why but it seems to have something to do with if statements. However, a script that displays normally in design view in one page, if I copy and paste into another page it displays as </MM HIDDENREGION>. The page still works normally but it is very obnoxious. Has anyone experienced this? What causes it?

    I never have this problem because:

    a) I only work with PHP coding in the 'coder' view or whatever it's called.
    b) I don't have much HTML in my PHP files for the design mode to be useful (.php is for PHP code, .inc/.html is for HTML).

      I understand. Obviously I work with php in the code view, but just for example if I have some php in a table that I want to edit in design view its displaying as erroneous code when in fact its not.
      Realized that it only happens when I cut and paste code from another file (but if I retype the EXACT same code it does not act this way). Time to upgrade from MX 04 anyway.

        Write a Reply...