Adding php to form action breaks code [closed]

Disregard the entire question. I’ve found my answer. I was missing a closing tag on the wrapping div. Go figure.

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