Can I add code to do CRUD to the content of a page this way?

Can I add code to do CRUD to the content of a page this way?

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