Hi people,
I am a real newbie so please bear with me.
I have the following php. in the html part at the bottom you will see this line.
Click here to find out: www.data-strategy.co.uk/customers <br>
I need to append the nameID variable to the end of this url and make it clickable.
Any help would be really cool.
Dave
<?php
/ recipients /
$to = "$email"; // note the comma
/ subject /
$subject = "MESSAGE FROM BUGS BUNNY, EDITOR OF PRECISION FIRM";
/ name /
$FirstName = "$FirstName";
$SecondName = "$SecondName";
$NameID = "$NameID";
/ name /
$line = 'Good Morning'. " " .$FirstName . " ".$NameID;
/ message /
$message = "
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>$line</p>
<p> blah<br>
more blah</p>
<p> <strong>blah blah<br>
</strong><br>
<strong>blah<br>
</strong><br>
<strong>again more blah</strong> <br>
<br>
But the first question is: How well do you know your customers?
Click here to find out: www.data-strategy.co.uk/customers <br>
<br>
Someone<br>
Editor <br>
Data Strategy </p>
</body>
</html>
";
/ To send HTML mail, you can set the Content-type header. /
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/ and now mail it /
mail($to, $subject, $message, $headers);
?>