Always use a plain text editor when editing any php or html files. These fancy editors add all sorts of "rubbish" to your code, which makes editing a nightmare and as you have experienced can mess up the execution of files.
Also make sure that your FTP program is set to either upload php and html files as ASCII files, or choose Auto.
|