AJAX Contact Form Issue

are you logged-in with all browsers? since

add_action('wp_ajax_contact_form', 'ajax_contact');

only works for logged in users,
so to fix it you need to change it:

add_action('wp_ajax_nopriv_contact_form', 'ajax_contact');

if you want your function to work for visitors as well as users.

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