kittmaster Posted December 15, 2005 Posted December 15, 2005 I'm trying to solve a problem with font formatting retention. The example is from the contact us page, when the user types in their comment the fonts are taken from the stylesheet. When the http_post_vars takes that info typed into the form, it for some reason converts it back to times roman which isn't the font that is used throughout my site (Verdana). How do I maintain the font integrity? The information is in question is from the $enquiry variable which gets passed back to the html email which the customer sees is different from the font used within the rest of the formatted email from the script. Ideas on what the fix is? here is the code if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); if(SEND_CONTACT_US_RESPONSE=='true') tep_mail($name, $email_address, CONTACT_US_RESPONSE_EMAIL_SUBJECT, CONTACT_US_RESPONSE_EMAIL_TEXT . EMAIL_FORMAT_FIX . "\n\n".$enquiry, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); I've tried to paste this" <link rel="stylesheet" type="text/css" href="stylesheet.css"> before it and within it, but I get parse errors because it doesn't seem to belong there. This is driving me nuts Thanks Chris Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.