Re: [PHP] Loop Question

2003-10-18 Thread Robert Cummings
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++)

Re: [PHP] Loop Question

2003-10-18 Thread Jed R. Brubaker
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

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
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

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
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

Re: [PHP] -loop question-

2002-03-04 Thread bvr
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 //