See changes below.
Cheers,
Rob.
On Sat, 2003-10-18 at 14:57, Jed R. Brubaker wrote:
Hi! I am trying to loop through two different database calls with two for
statements, one embedded in the other.
for ($i; $i $codeset_rows; $i++)
for ($i = 0; $i $codeset_rows; $i++)
Well duh. Thanks so much!
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
See changes below.
Cheers,
Rob.
On Sat, 2003-10-18 at 14:57, Jed R. Brubaker wrote:
Hi! I am trying to loop through two different database calls with two
for
statements, one embedded in
I'm assuming you want to send a list of passengers as the body of the text.
Surely you want to do something like:
$body = '';
for ($i = 0; $i $passengerNumberl ++$i) {
$body .= $Name_Passenger_[$i].'\n';
}
mail ($to, $subj, $body, $header);
IE Prepare the list of passengers first, and
Ooops...
$i $passengerNumberl
should of course read
$i $passengerNumber;
But you guessed that anyway, right???
Richy
-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 14:03
To: Richard Bradley; [EMAIL PROTECTED]
Subject: RE: [PHP] -loop
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 //
5 matches
Mail list logo