[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

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