-loop question-
| From: | Richard Bradley | Date: | Mon, 04 Mar 2002 13:54:20 +0000 |
| Subject: | -loop question- | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87085@lists.php.net to get a copy of this message | ||
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?