|
Posted by strawberry on 04/25/06 22:25
This from fpdf fourm...
Author: Muhammad Azeem Abbas (---.net.pk)
Date: 09-17-05 06:31
Use PHP str_replace(); Function before passing your HTML Tags to PDF.
Write
$html = str_replace( '<ul>', "" , $html );
$html = str_replace( '<li>', "->" , $html );
$html = str_replace( '</li>', "\n" , $html );
$html = str_replace( '</ul>', "" , $html );
Replace <li> tag with any character that shows a bullet, and replace
</li> to a new line.
HIH
[Back to original message]
|