Get posts from WP_Query and format them on admin_head

Try placing $myquery->the_post(); inside your while loop.

I think get_the_ID() and get_the_title() depend on that being setup first.

Also, wp_reset_query(); should be replaced with wp_reset_postdata();.

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