Nope, you can't, use the loop to create a temp variable containing the 

or do this:

mail($to, $subj, implode("\n", $Name_Passenger_), $header);


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) {
>, $header);
>// *******END CODE SNIPPLET *********//
>I can't seem to run the loop inside a variable either. Any suggestions?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to