Code: Select all
<?php
mail ($to, $subject, "
Thank you for your purchase.
Your Information:\n
First Name: ".$_SESSION['firstname']."\n
Last Name: ".$_SESSION['lastname']."\n
License: ".$_SESSION['timelicense']."\n
Hosting: ".$_SESSION['hosting']."\n
Optionals: ".$_SESSION['optional']."\n
IP: $REMOTE_ADDR\n
Total: $ ".$_SESSION['total']." (USD)\n\n
<a href="https://www.paypal.com/cgi-bin/webscr/$paypal">Click here to purchase.</a>\n\n
From: ".$_SESSION['email']."\n");
?>If I put <br> it actually outputs the text <br>...and links <a href ....
I tried escaping the ?> tags but It wouldn't make a difference.