Extra Lines in my PHP code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
SheDesigns
Forum Commoner
Posts: 42
Joined: Tue Nov 18, 2008 9:51 am
Location: Buffalo, NY

Extra Lines in my PHP code

Post by SheDesigns »

I'm having an issue, where everytime I save my files, extra lines are added. At this point, there's about 20 blank lines between each line of code. It's driving me insane. The code is probably 800 or 900 lines, so to go through and delete each line one by one is just not doable.

If I replace blank spaces, it takes out all blank spaces. Any solutions??
I just want everything to be right underneath the line before, no lines in between.

Here's an example:

echo "</b></td></tr>";































































}
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Extra Lines in my PHP code

Post by Eran »

Did you try to check your text editor configuration? or changing editors?
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: Extra Lines in my PHP code

Post by Syntac »

Looks to me like you have a sucky editor. Say, what OS are you using?
Post Reply