Using form method in a template WordPress page

i have just resolve the problem replacing all occurrence of ‘year’ par ‘mastering’. It seems year is reserved by PHP

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