AJAX: admin-ajax.php is adding extra content to my script’s response – how to exclude header, footer, etc.?

AJAX: admin-ajax.php is adding extra content to my script’s response – how to exclude header, footer, etc.?

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