You probably have error messages turned on and it is displaying the deprecated MySQL error, which counts as writing content to the page just like a blank line. You can probably just turn off display_errors in your php.ini file, or on the top of the page, and that would resolve this issue.