I have a random letter appearing before my content. Where to start looking for the cause?

There was a “d” just before the opening php tag in one of my files. I’m a dork.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)