Ok, so i re-downloaded my functions file (600 lines of code) and its all bunched up into 5 lines. with a long horizontal bar.
How do i fix this? I tried to re download it as ascii and binary (i know its in one of the two and needs to be in the other) but it does not fix it.
Suggestions?
help notepad++ and ws_ftp went stupid
Moderator: General Moderators
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
So it's basically stripped your line breaks? Weird.
Google directed me to this: http://www.2072productions.com/?to=phpindent.txt
Google directed me to this: http://www.2072productions.com/?to=phpindent.txt
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Huh?bdlang wrote:The script came from a UNIX system and was edited on Windows? Does your editor support UNIX line breaks?
I don't really understand you, but looking into it, the script I pointed you to won't help you, and I don't know of an editor that will tidy an already written PHP script. I'm sure you'll be able to find one if you look around enough though.
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm