[PHP] for and emailmessage

2001-09-02 Thread Jan Grafström
Hi! I have this file and it doesen´t write my tablerows: $message .= "" $message .= "Varunamn"; $i = 0; $ii = count($vn); for ($i=0;$i<$ii;$i++) { $message .= "".$vn[i].""; } $message .= "Sum"; $message .= ""; I am trying to build a htmlmail but how do I write the for script for all tablerows? Th

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 (englis