basically when i enter a string into the WriteHTML(“blahnblah n blah”) all the breaks appear in the pdf fine but when i use a string or object it just prints the nr in the document. I’m guessing this has something to do with single and double quotes or some form of slashes being passed which aren’t being shown :S any help would be greatly appreciated.
[code=php]function LoadQuote($quote_number, $client_name, $job_name, $job_breakdown)
{
$this->quote_id = $quote_number;
$this->client_name = $client_name;
$this->job_name = $job_name;
$this->job_breakdown = $job_breakdown;
}
function NewPage()
{
//Instanciation of inherited class
$this->AddPage();
$this->SetLeftMargin(24);
$this->SetFont(‘Arial’,”,10);
$this->WriteHTML($this->job_breakdown);
$this->SetLeftMargin(10);
$this->Run();
}