Link to home
Start Free TrialLog in
Avatar of rcowen00
rcowen00Flag for United States of America

asked on

PHP Page Break in Email_body

I have the following code that sends a .txt file and email, but I would like to add a page break or something (open to suggestions) that would make the application signatures not move dependent on how much data the user enters.  Line 7 is where I would like it and what I have there is not working


email_body .= "------ ADDITIONAL INFORMATION ------" . "\n" ;
	$email_body .= "Have you ever been a party to an eviction?: " . stripslashes($_POST[eviction]) . "\n" ;
	$email_body .= "Have you ever filed Bankruptcy?: " . stripslashes($_POST[bankruptcy]) . "\n" ;
	$email_body .= "Have you ever been convicted of a Crime?: " . stripslashes($_POST[convicted]) . "\n" ;
	$email_body .= "Please provide the best phone number where we can reach you: " . stripslashes($_POST[bestphone]) . "\n" ;
	$email_body .= "Please provide an email address where we can contact you: " . stripslashes($_POST[emailaddress]) . "\n\n\n" ;
        $email_body .= ."{page-break-after: always}". ;
        $email_body .= "Applicant 1 Signature:____________________________ \n\n\n" ;
        $email_body .= "Applicant 2 Signature:____________________________ \n" ;

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial