[PHP] for and emailmessage

2001-09-02 Thread Jan Grafström

Hi!
I have this file and it doesen´t write my tablerows:
$message .= table
$message .= trtdbVarunamn/b/td/tr;
$i = 0;
$ii = count($vn);
for ($i=0;$i$ii;$i++) {
$message .= trtd.$vn[i]./td/tr;
}
$message .= trtdbSum/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]




Re: [PHP] for and emailmessage

2001-09-02 Thread Alexander Skwar

So sprach »Jan Grafström« am 2001-09-02 um 22:17:34 +0200 :
 $i = 0;
 $ii = count($vn);

Sure that $vn contains anything?  Add this line after the count() line
to see what $vn contains:

var_dump($vn);

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 16 minutes

--
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]