Re: for and emailmessage
| From: | Richard Lynch | Date: | Sun, 02 Sep 2001 20:39:52 +0000 |
| Subject: | Re: for and emailmessage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65672@lists.php.net to get a copy of this message | ||
You need to:
echo $message;
at the end.
Or, just echo each line as you go.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Jan GrafströM <jan@grafstrom.net>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Sunday, September 02, 2001 3:17 PM
Subject: for and emailmessage
> Hi!
> I have this file and it doesen´t write my tablerows:
> $message .= "<table>"
> $message .= "<tr><td><b>Varunamn</b></td></tr>";
> $i = 0;
> $ii = count($vn);
> for ($i=0;$i<$ii;$i++) {
> $message .= "<tr><td>".$vn[i]."</td></tr>";
> }
> $message .= "<tr><td><b>Sum</b></td></tr>";
> $message .= "</table>";
> I am trying to build a htmlmail but how do I write the for script for all
> tablerows?
>
> Thanks in advance for any help.
> Regards
> Jan
>
>