troubleshooting Question

Multi line FPDF footer:

Avatar of breeze351
breeze351 asked on
PHP
3 Comments1 Solution598 ViewsLast Modified:
I need to add a multi line footer.  The application is real estate so you have to have a disclaimer at the bottom of the page (It's a legal CYA.  If we screwed up it ain't our fault).  Since different broker's user different statements, I want to make this as easy as possible.  

I'm getting what looks like the "middle" of the variable.  Is there a way to make the entire variable wrap to a new line without having to edit the text and insert breaks?

global $Disclaimer;
$Disclaimer = $_SESSION['Company_Name']." has made every effort to obtained the information regarding these listings from sources deemed reliable. However, we cannot warrant the complete accuracy thereof subject to errors, omissions, change of price, rental or other conditions, prior sale, lease or financing, or withdrawal without notice."; 
require('fpdf.php');
class PDF extends FPDF
{

// Page footer
function Footer()
{
	$Disclaimer = $GLOBALS['Disclaimer'];
    // Position at 1.5 cm from bottom
    $this->SetY(-15);
    // Arial italic 8
    $this->SetFont('Arial','I',8);
    // Disclaimer
    $this->Cell(0,10,$Disclaimer,0,0,'C');
}
}

Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros