Change ‘post_modify’ with a query

Thanks @Marin Atanasov and @hobo to help me to solve my problem on stackoverflow. If you are interested you can check the solution here

The problem was in the way i wrote the query, because it needs quotes around the date (eg = '".$data_modifica_post."').

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