Hide content after going to page 2 of archive, show content when back at first page

There is an example on the wordpress codex. (link). Basically you use an if statement on the variable $paged which stands keeps track of the current archive page.

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