Is there a way to save different data when USER interacts with the same POST?

Is there a way to save different data when USER interacts with the same POST?

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