Hi,
I have just built my first site using PHP. Its a general admin site for a small promotions company keeping track of bookings, reports, contact logs, etc. It all works fine but the code is really long-winded (one page is nearly 900 lines long). Part of me thinks 'If it ain't broke don't fix it' but I feel compelled to rework it and shorten the code. Can anybody suggest any ways of going about doing this?
Are there any websites on which you can post your code and have it checked?
Are there any good programmes for editing code? I am using dreamweaver and find it impossible to keep track of my code. It would be great if I could collapse sections of code. Is this possible?
Any general advice would be greatly appreciate before I start digging into this herculean task
Thanks in advance
Chris