PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am only a beginner with php, so I don't really know what strip_tags() is. I have been doing some reading about strip_tags() on the web, but still not have any idea about this function. So could you educate me a bit more.
You are right mate, the guru whom design this mod have use a function call pdfoc_html_cleanup()
But after a hour of looking where the shipping text was generated, I have no luck. I would guess it would be somewhere around those line.
// line under Totals column
//
$pdf->setLineStyle(1.5);
$tx = $x - PDFOC_PRICING_COLUMN_SIZES + 15;
$pdf->line($tx,$pos,$x+13,$pos); // tweak this value to match end of your table
This looks like a PDF generation routine and also it looks like some of the tags are a part of the code. You will need to remove those, as well as run strip_tags() on the textual sources (instead of pdfoc_html_cleanup)