Where do I save widget code for wordpress?

you can make it a plugin and put it in the plugins folder, or you can make it part of a theme and put it in the theme’s functions.php file.

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