Re: -loop question-
| From: | bvr | Date: | Mon, 04 Mar 2002 14:24:06 +0000 |
| Subject: | Re: -loop question- | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87089@lists.php.net to get a copy of this message | ||
Nope, you can't, use the loop to create a temp variable containing the message,
or do this:
mail($to, $subj, implode("\n", $Name_Passenger_), $header);
bvr.
Richard Bradley wrote:
I want to run a loop inside of the "body" section of the mail() function. // ********CODE SNIPPLET************ // mail ($to, $subj, for ($i = 0; $i < $passengerNumber; ++$i) { $Name_Passenger_[$i] " } , $header); // *******END CODE SNIPPLET *********// I can't seem to run the loop inside a variable either. Any suggestions?