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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

