How to output php between header and woocommerce container

You can try adding php in index.php file in your theme folder after get_header() is called.Your php block will come after header and before woo commerce content.

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