close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

 this odd characters appearing before the £ in emails sent from a web form

Thread began 5/31/2011 2:27 am by jegoadby285710 | Last modified 5/31/2011 6:12 am by jegoadby285710 | 2926 views | 6 replies

jegoadby285710

 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;">&nbsp;</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 */" >&nbsp;</td>
<td style="text-align:right; padding: 10px 14px 10px 5px; border-top:solid 1px #CCD0D6; /* Neutral_Medium */ background-color:#F1F0EE; /* Global_Gray_Light */" >&nbsp;</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>&nbsp;</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>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...