Is there a program to organize php code to look neater?
I know with Dreamweaver if you use the "apply source formatting" option it automatically adds spaces to html code to make it easier to read, and I was wondering if there was any software that offers the same thing but with php code? I would think there is since a few years ago I had a friend work on a php file and he managed to organize over 700 lines of code and I doubt he did all of that manually. Thanks.
I use Windows XP. I doubt he manually spaced out and made every single line of code nice and pretty in less than a day. It was a bad script written by someone who just added php code all on the same line and my friend spaced out everything neatly like a default phpBB type file. If Dreamweaver can automatically space out html code I would assume there is a program that does that for php as well.
If I am ever on a windows machine, I typically use textpad. What you are looking for is an editor with the "Beautify Code" option, or somthing to that effect. Why not ask your friend how he/she did it?
There's a program called SourceFormatX. Check it out:
PalmHost - A Montréal based Web hosting company
▌ cPanel w/Fantastico & Online SiteBuilder (+200 royalty free website templates) ▌ Bilingual Support (English & French) ▌ 30 Day Unconditional Money Back Guarantee