I’m Trying to Separate the First Post From the Rest of the Loop

After I tried switching from : and endif; or endwhile; to brackets it worked.

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