How to call a certain object/menubar in a PHP file

Since noone responded, here’s my solution:

I copied my menubar from header.php into a new file called menubar.php and called that file with include(“menubar.php”);

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