How to output a PHP file values by shortcode?

We’ve built shortcodes in the past using concatenating variables.

To paraphrase the link above, you should output your PHP as such.

 $output="<p>";
 $output .= '<strong>' . $content . '</strong>';
 $output .= '</p>';
 return $output;

Note, see the .= variable concatenation.

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