Although I prefer jnhghy's selected answer to Jantea Alexandru, the following alternative way to do this is if you just need something quick:
Change the following code:
$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 058', PDF_HEADER_STRING);
to
$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 058', PDF_HEADER_STRING, array(0,0,0), array(255,255,255));
It just sets the line color to white (the background color of the page). The first array of colors is for the color of the title text, the second array of colors is for the color of the title bar.
source
share