the problem is obvious: you are trying to send HTML in a plain text email.
see :
http://www.php.net/manual/en/function.mail.php
i would actually recommend that you DO NOT send HTML email and leave it in
plain text.
DanO
-----Original Message-----
From: Nguyen, David M [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 7:55 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] How to make text BOLD
Below is my script and the output I got, I want DATE and EQUIPMENT TO BE
BOLD:
$message = "The following Webpage is added or updated:\n\n<B>Date:</B>
$date\n<B>Equipment:</B> $equipment\nTopic: $topic\nURL: $url";
mail( $to, $subject, $message, $mail_header ) or print "Could not send
mail";
print ("<HTML>\n");
print ("<HEAD>\n");
print ("<TITLE>$title</TITLE>\n");
print ("</HEAD>\n");
print ("<BODY BACKGROUND=\"images/bkgrnd.jpg\" bgcolor=\"#FFFFFF\">\n");
****SEE what I got from output:
<B>Date:</B> Fri, February 2001 - 09:50:38
<B>Equipment:</B> General
Please advise how to fix it.
Thanks,
David
-----Original Message-----
From: Hoover, Josh [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:35 AM
To: Nguyen, David M; [EMAIL PROTECTED]
Subject: RE: [PHP] How to make text BOLD
Could you send an example of how you're using the bold/strong tags in your
PHP code? If we see it, we can probably help you out better :)
Josh Hoover
KnowledgeStorm, Inc.
Searching for a new IT solution for your company? Need to improve your
product marketing?
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here
> I want to make my text BOLD using either <STRONG></STRONG> or
> <B></B> but it
> did not work with PHP. Can someone please advise why not or
> if there is
> another way to do it.
>
> Thanks,
> David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]