Add_menu_page and saving settings

Use the Settings API or hook a function to admin_init that checks permissions and nonces, saves the updated values and redirects to your settings page.

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