Check to see if specific loop has less than certain amount of posts

Try this:

if ($my_query->post_count < $min_posts) {
    // Do Something.
}

Good luck! Hope that helps.

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