Custom meta box not saving

Well, there’s a lot of code you’ve posted and the reason for the problem is pretty easy to fix (but hard to find).

You have this line in your code:

add_action('save-post','ktechs_save_contact_email_data');

But there is no hook called save-post. It should be save_post. So change the line above to

add_action('save_post', 'ktechs_save_contact_email_data' );

and it should work like a charm.

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