The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
how do i keep dreamweaver 2.01 from messing up my PHP code?! plz help!
Discuss how do i keep dreamweaver 2.01 from messing up my PHP code?! plz help! in the PHP Development forum on Dev Shed. how do i keep dreamweaver 2.01 from messing up my PHP code?! plz help! PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

April 9th, 2000, 12:19 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation 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
------------------
|

April 9th, 2000, 01:08 PM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
Stop using it?
Sorry, don't mean to sound sarcastic, but if you can hand code PHP why not HTML?
|

April 9th, 2000, 01:48 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation 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
------------------
|

April 9th, 2000, 06:02 PM
|
 |
Junior Member
|
|
Join Date: Mar 2000
Posts: 5
Time spent in forums: < 1 sec
Reputation 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]
|

April 9th, 2000, 06:18 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation 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
------------------
|

April 9th, 2000, 06:39 PM
|
 |
Junior Member
|
|
Join Date: Mar 2000
Posts: 5
Time spent in forums: < 1 sec
Reputation 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]
|

April 9th, 2000, 07:06 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation 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
------------------
|

April 10th, 2000, 02:22 PM
|
|
Contributing User
|
|
Join Date: Mar 2000
Posts: 60
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
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.
|

April 13th, 2000, 01:43 PM
|
|
Junior Member
|
|
Join Date: Apr 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation 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).]
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|