/    Sign up×
Community /Pin to ProfileBookmark

notepad and one-liners

i’m sorry for asking again, but my question still hasn’t been answered. Whenever I save a .php file, all code is put on one line like this:

[CODE]<table width=”936″ border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”> <tr> <td width=”48″> <img src=”images/3.jpg” width=”48″ height=”131″></td> [/CODE]

it doesn’t make any difference if i save the file as .txt or else. Notepad even goes one-line if i just save an existing file.
please help me
greetzzz the Anime King

to post a comment
Full-stack Developer

7 Comments(s)

Copy linkTweet thisAlerts:
@buntineMar 29.2004 — Reinstall notepad... Make sure [i]word-wrap[/i]is turned on.

Also, dont go near any editors which use formatting of some type like word and frontpage.

Regards.
Copy linkTweet thisAlerts:
@The_Anime_KingauthorMar 29.2004 — thnx, and i hate word and frontpage and other editors that add a lot of useless stuff.

but, how do i reinstall notepad and where can i find the word-wrap option ?

thnx so far

greetzzz tAK
Copy linkTweet thisAlerts:
@buntineMar 30.2004 — Word-Wrap is an option in the 'format' menu.

Reinstall notepad from the windows CD.

Regards.
Copy linkTweet thisAlerts:
@rhsundergroundMar 30.2004 — i had that problem as well, which is why i switched to notepad. it works for me, it could work for someone else.?
Copy linkTweet thisAlerts:
@Paul_JrMar 30.2004 — If you're echoing all this out with PHP, it may be that you are forgetting to add [FONT=courier new]n[/FONT] for a new line?
Copy linkTweet thisAlerts:
@The_Anime_KingauthorApr 03.2004 — It's not the source code of a generated page that's put on one line, I mean the original php file as it is saved on my hard disk. Whenever I save any file, notepad just makes one line of it all, like all hard returns have been removed...

Ok, last time I'll ask:

[b]how can I deal with this problem without reinstalling notepad?[/b]

There must be some preference somewhere that suddenly changed the way notepad works...?

greetzzz tAK
Copy linkTweet thisAlerts:
@buntineApr 03.2004 — Why cant you reinstall notepad?? You probably have corrupted registry keys..
×

Success!

Help @The_Anime_King spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...