How to prevent page load on form submission

Unless you are using AJAX for sending/fetching data, you must tolerate reloading a whole page.

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