problem loading stylesheets to wp_head dynamically

While your code is a bit messy, I think the one thing that is breaking it is the wp_enqueue_style you’ve got there. The second parameter “10” just shouldn’t be there.

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