You need to:
echo $message;
at the end.
Or, just echo each line as you go.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
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
>
>
--
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]