RE: [PHP] How to make text BOLD

From: Date: Fri, 16 Feb 2001 16:23:21 +0000
Subject: RE: [PHP] How to make text BOLD
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40162@lists.php.net to get a copy of this message
How about: <STYLE type="text/css"> li.bold {font-weight: bold;} </STYLE> <p> The following Webpage is added or updated: <ul> <li class="bold">DATE: <?= $date ?></li> <li class="bold">Equipment: <?= $equipment ?></li> <li>Topic: <?= $topic ?></li> <li>URL: <?= $url ?></li> </ul> </p> or <p> The following Webpage is added or updated: <ul> <li><b>DATE:</b> <?= $date ?></li> <li><b>Equipment:</b> <?= $equipment ?></li> <li>Topic: <?= $topic ?></li> <li>URL: <?= $url ?></li> </ul> </p> > -----Original Message----- > From: Nguyen, David M [mailto:david.m.nguyen@xo.com] > Sent: Friday, February 16, 2001 10: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 > >

« previous php.general (#40162) next »