You need to make sure that <?php is the first thing in the file (first line, no spaces before it).
If it looks like it is, then the problem might be the editor you used to make the changes. Word processing editors will sometimes insert some characters at the beginning of the file. You should use a programming editor, such as notepad++ (which you can download for free).
|