RE: [PHP] How to print out an array in mail!

From: Date: Mon, 16 Oct 2000 09:27:01 +0000
Subject: RE: [PHP] How to print out an array in mail!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20319@lists.php.net to get a copy of this message
Hi David, > I wonder if any one could give me some hints on how to write out > an array in > an mail body. just try this one: <? $email = "Blah, blah header\n\n"; $email .= implode("",$your_array_you_wish_to_include); $email .= "\n\nSincerly yours\nJohn Footer"; mail("$name <$recipient>", "Blah: $subject", $email, $additional_headers); ?> Cheers Matthias aka Matthew

« previous php.general (#20319) next »