Using post title in an array

You could use get_the_title() to store the title inside a variable.. the_title() would actually print the title ..

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