#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    9
    Rep Power
    0
    You got it - Dreamweaver 2.01 keeps screwing up my code whenever I go to save it! I have to re-edit it in a text file to get it to work. But when I need to edit the rest of the page in Dreamweaver, it screws it up again!
    Anyone have any ideas?

    Any help is appreciated!

    Thanks in advance!

    - ghost

    ------------------
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Stop using it?

    Sorry, don't mean to sound sarcastic, but if you can hand code PHP why not HTML?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    9
    Rep Power
    0
    The reason I got dreamweaver 2.01 was to cut down on the production time it takes to get up websites. Also, the focus on streamlining the product so other team members can you use it is a big plus.

    Thanks for your reply anyways.

    - ghost

    ------------------
  6. #4
  7. Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    5
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by ghost_swg:
    The reason I got dreamweaver 2.01 was to cut down on the production time it takes to get up websites. Also, the focus on streamlining the product so other team members can you use it is a big plus.

    Thanks for your reply anyways.

    - ghost

    [/quote]

    I have a common suggetion.
    Just edit the php code in the text_editor eg.UltraEdit/Notepad by Dreamweaver's external editor. Then save it.

    As my experience!! It feel not bad....

    but my Dreamweaver's version is third . ^_^


    ------------------
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Ask not what your friends can do for you....
    ask what you can do for your friends.[/quote]
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    9
    Rep Power
    0
    Hello,

    But will it not just tear up my code again once I try to edit more of the page in the future?

    Thanks

    - ghost

    ------------------
  10. #6
  11. Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    5
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by ghost_swg:
    Hello,

    But will it not just tear up my code again once I try to edit more of the page in the future?

    Thanks

    - ghost

    [/quote]
    In My PC ,it won't if you are using the same way to edit it



    ------------------
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Ask not what your friends can do for you....
    ask what you can do for your friends.[/quote]
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    9
    Rep Power
    0
    "In My PC ,it won't if you are using the same way to edit it"

    What do you mean? I will be using Dreamweaver to edit all of it, and then I will use the TextEditor for the PHP part(?). So what do I do when I need to edit it again in DREAMWEAVER? Will I just have to go back after making all my changes in DREAMWEAEVER and re-edit it in the TextEditor?

    Thanks

    - ghost

    ------------------
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    60
    Rep Power
    15
    A Dreamweaver default is to close all tags. for coding PHP just turn the feature off. Additionally, Homesite is very friendly to PHP and is bundled with Dreamweaver, it also has the pain-in-the rear closing tags, but again it can be turned off.

    I use Dreamweaver simply to make the page look exactly how I want it in HTML, but then move to Homesite for all the coding. It is a lot easier, and Dreamweaver+PHP is not a perfect combination, although you can get it to work.


  16. #9
  17. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    1
    Rep Power
    0
    Use asp style tags <% code %> instead of <? ordinary php ?> style, then dreamwiever will leave your code alone.

    [This message has been edited by robinivan (edited April 13, 2000).]

Similar Threads

  1. Good devlopment IDE for PHP that indents code
    By grover in forum Development Software
    Replies: 5
    Last Post: May 6th, 2004, 08:36 AM
  2. PHP w/ Javascript - Mozilla adds </script> cuts off my code
    By aikoto in forum JavaScript Development
    Replies: 2
    Last Post: February 8th, 2004, 01:58 PM
  3. fread problem: doesn t compile php code
    By ghorghor2002 in forum PHP Development
    Replies: 2
    Last Post: February 3rd, 2004, 06:25 AM
  4. adding Table with PHP Code ?
    By php_beginner in forum PHP Development
    Replies: 4
    Last Post: February 2nd, 2004, 09:45 PM
  5. php code to use variables from the url
    By Nullified in forum PHP Development
    Replies: 2
    Last Post: January 30th, 2004, 03:19 PM

IMN logo majestic logo threadwatch logo seochat tools logo