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
@Khaled solution works great, if you whould like to preserve left position, try this:
function WriteHtmlCell($cellWidth, $html){
$rm = $this->rMargin;
$lm = $this->lMargin;
$this->SetRightMargin($this->w - $this->GetX() - $cellWidth);
$this->SetLeftMargin($this->GetX());
$this->WriteHtml($html);
$this->SetRightMargin($rm);
$this->SetLeftMargin($lm);
}