How do I add an extra field to comment form above the submit button?

You should return the div element as a variable, like

$subscribe="<div>...</div>"; return $subscribe;

By doing echo function, the output is sometimes on top.

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