I would like single.php to act just like index.php

you could create a secondary loop using WP_Query()to get all posts;

the links should have enough examples to get you started.

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