[PHP] Loop Question

2003-10-18 Thread Jed R. Brubaker
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++) { $codeset_row = $this-database-fetch_array($codeset_query); $codesys_query = $this-database-query(select

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

[PHP] -loop question-

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

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
PROTECTED]] Sent: 04 March 2002 13:54 To: [EMAIL PROTECTED] Subject: [PHP] -loop question- 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

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
PROTECTED]] Sent: 04 March 2002 13:54 To: [EMAIL PROTECTED] Subject: [PHP] -loop question- 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

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 //