RE: [PHP] How to make text BOLD
| From: | DanO | Date: | Fri, 16 Feb 2001 16:25:46 +0000 |
| Subject: | RE: [PHP] How to make text BOLD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40164@lists.php.net to get a copy of this message | ||
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:david.m.nguyen@xo.com]
Sent: Friday, February 16, 2001 7:55 AM
To: php-general@lists.php.net
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:Josh.Hoover@knowledgestorm.com]
Sent: Friday, February 16, 2001 9:35 AM
To: Nguyen, David M; php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net