migrating wordpress, but getting some php parsing errors

Some PHP versions require the explicit declaration of <?php instead of just <? declarations or the other way around. Settings such as short_open_tag in your php.ini file.

You can read more here http://php.net/manual/en/ini.core.php

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