Parse error: syntax error, unexpected ‘}’ [closed]

You have misplaced ; in your code, it should be

<?php if( empty( $username ) ) { array_push( $errors, "Username is required" ); } ?>

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