this odd characters appearing before the £
Hi thank you for your reply.
Should i add <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> to this page in the head section?
This is the code from the WedAssist application used to format the email from the form.
___________________________________________________________________
<html><head></head><body>
Dear
<?php echo ((isset($_POST["mainname"]))?$_POST["mainname"]:"")?><br />
<br />
Thank you for your enquiry regarding the <?php echo $CDCDP->DisplayInfo("Name")?> course in <?php echo $CDCDP->DisplayInfo("courselocation")?> scheduled for <?php echo $CDCDP->DisplayInfo("coursedate")?>. You will be contacted within 24 hours by a CNet Training representative who will be able to answer any questions you may have and organise your booking.<br /><br />
We look forward to welcoming you to a CNet Training course in the near future.<br /><br />
Best regards,<br /><br />
CNet Training Customer Services Team<br /><br />
<div class="eC_Clean_Slate_Arial" style="font-family:Arial, Helvetica, sans-serif; /* Font Style */ font-size:x-small; color: #2C2D2E; /* Neutral_Black */ width:514px;">
<div class="eC_Clean_Slate_Arial" style="font-family:Arial, Helvetica, sans-serif; /* Font Style */ font-size:x-small; color: #2C2D2E; /* Neutral_Black */ width:514px;">
<?php
//WA eCart Show If Start
if (!$CDCDP->IsEmpty()) {
?>
<h2 style="color:#50516B; /* Accent_1 */ margin-bottom:7px; font-size:medium;">CDCDP Enquiry </h2>
<table width="100%" style="font-size:x-small;" border="0" cellspacing="0" cellpadding="0">
<tr>
<th style="padding:10px 7px 10px 7px; vertical-align:top; text-align:left; background-color:#F1F0EE; /* Global_Gray_Light */ color:#343446; /* Accent_5 */ border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">location</th>
<th style="padding:10px 7px 10px 7px; vertical-align:top; text-align:left; background-color:#F1F0EE; /* Global_Gray_Light */ color:#343446; /* Accent_5 */ border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">Name</th>
<th style="padding:10px 7px 10px 7px; vertical-align:top; text-align:left; background-color:#F1F0EE; /* Global_Gray_Light */ color:#343446; /* Accent_5 */ border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">Date</th>
<th style="padding:10px 7px 10px 7px; vertical-align:top; text-align:left; background-color:#F1F0EE; /* Global_Gray_Light */ color:#343446; /* Accent_5 */ border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">Duration</th>
<th style="padding:10px 7px 10px 7px; vertical-align:top; text-align:left; background-color:#F1F0EE; /* Global_Gray_Light */ color:#343446; /* Accent_5 */ border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">Unit Cost</th>
</tr>
<?php
while (!$CDCDP->EOF()) {
?>
<tr>
<td style="padding:10px 7px 10px 7px; vertical-align:top; "><p style="font-weight:bold; margin:0 0 2px 0;"><?php echo $CDCDP->DisplayInfo("courselocation")?></p>
<p style="margin:0 0 2px 0;"> </p></td>
<td style="padding:10px 7px 10px 7px; vertical-align:top; "><span style="margin:0 0 2px 0;"><?php echo $CDCDP->DisplayInfo("Name")?></span></td>
<td style="padding:10px 7px 10px 7px; vertical-align:top;"><?php echo $CDCDP->DisplayInfo("coursedate")?></td>
<td style="padding:10px 7px 10px 7px; vertical-align:top;"><?php echo $CDCDP->DisplayInfo("Description")?></td>
<td style="padding:10px 7px 10px 7px; vertical-align:top;"><?php echo $CDCDP->DisplayInfo("unitCost")?></td>
</tr>
<?php
$CDCDP->MoveNext();
}
$CDCDP->MoveFirst();
?>
</table>
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:x-small; border-bottom:solid 1px #BABDC2; /* Neutral_Dark */">
<?php
//WA eCart Merchandizing Show Start
//ecart="CDCDP"
if ($CDCDP->GetDiscounts() > 0 || $CDCDP->GetCharges() > 0 || $CDCDP->GetShipping() > 0 || $CDCDP->GetTax() > 0) {
?>
<tr>
<td style="text-align:left; font-weight:bold; color: #343446; /* Accent_5 */ padding: 10px 5px 10px 7px; border-top:solid 1px #BABDC2; /* Neutral_Dark */ background-color:#F1F0EE; /* Global_Gray_Light */" > </td>
<td style="text-align:right; padding: 10px 14px 10px 5px; border-top:solid 1px #CCD0D6; /* Neutral_Medium */ background-color:#F1F0EE; /* Global_Gray_Light */" > </td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="CDCDP"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="CDCDP"
if ($CDCDP->GetDiscounts() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="CDCDP"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="CDCDP"
if ($CDCDP->GetCharges() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="CDCDP"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="CDCDP"
if ($CDCDP->GetShipping() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="CDCDP"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="CDCDP"
if ($CDCDP->GetTax() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="CDCDP"
}
?>
</table>
</div>
<?php
//WA eCart Show If Middle
}
else {
?>
<table>
<tr>
<td>The cart is empty</td>
</tr>
</table>
<?php
//WA eCart Show If End
}
?>
</div>
</div>
<table width="438" border="0" cellpadding="2" cellspacing="0">
<tr>
<td><strong>Main Contact Details</strong></td>
<td> </td>
</tr>
<tr>
<td width="172">Full name:</td>
<td width="266"><label for="mainname"><?php echo ((isset($_POST["mainname"]))?$_POST["mainname"]:"")?></label></td>
</tr>
<tr>
<td>Email:</td>
<td><label for="mainemail"><?php echo ((isset($_POST["mainemail"]))?$_POST["mainemail"]:"")?></label></td>
</tr>
<tr>
<td>Company name:</td>
<td><label for="maincompany"></label>
<?php echo ((isset($_POST["maincompany"]))?$_POST["maincompany"]:"")?></td>
</tr>
<tr>
<td>City:</td>
<td><?php echo ((isset($_POST["city"]))?$_POST["city"]:"")?></td>
</tr>
<tr>
<td>Position:</td>
<td><label for="tmainposition"><?php echo ((isset($_POST["tmainposition"]))?$_POST["tmainposition"]:"")?></label></td>
</tr>
<tr>
<td>Contact number:</td>
<td><label for="mainnumbertel"><?php echo ((isset($_POST["mainnumbertel"]))?$_POST["mainnumbertel"]:"")?></label></td>
</tr>
<tr>
<td>Additional information:</td>
<td><label for="textarea"></label>
<?php echo ((isset($_POST["Additionalinformation"]))?$_POST["Additionalinformation"]:"")?></td>
</tr>
</table>
</body></html>