echo or return? [duplicate]

Functions can only return one value. Change all the echo statements in your tweet function to concatenate a string, then return the string at the end of the function.

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