Can WriteHTML placed in Multicell? How?
I retrieved and display the HTML output from database but want to position it in the 2nd column(let\'s say) so I put it in Mu
Add this method to your WriteHTML class
WriteHTML
function WriteHtmlCell($cellWidth, $html){ $rm = $this->rMargin; $this->SetRightMargin($this->w - $this->GetX() - $cellWidth); $this->WriteHtml($html); $this->SetRightMargin($rm); }
then just call it
$pdf->WriteHtmlCell(70, $html);