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
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 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
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
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
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 //
7 matches
Mail list logo