-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 11:56
To: php-general@lists.php.net
Subject: [PHP] I'm having a blond moment with a while loop???
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sorted by customer
set g_customer_id to ''
loop through resultset
if customer_id not same as last record's customer_id (g_customer_id)
get customer email details
set up message header if
George Pitcher wrote:
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sorted by customer
set g_customer_id to ''
loop through resultset
if customer_id not same as last record's customer_id (g_customer_id)
get customer email details
set up
On Sunday 08 May 2005 12:55, George Pitcher wrote:
Hi guys,
I'm doing something dumb but I can't see it.
Actually you are doing many dumb things ;-)
Please post your real code instead of pseudo. Then we'll have a look. And if
possible append a describe table so we can see how your table
On 5/8/05, George Pitcher [EMAIL PROTECTED] wrote:
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sorted by customer
set g_customer_id to ''
loop through resultset
if customer_id not same as last record's customer_id (g_customer_id)
Andy, and the others who have kindly responded,
I managed to get this sorted.
Ta
George
-Original Message-
From: Andy Pieters [mailto:[EMAIL PROTECTED]
Sent: 8 May 2005 3:26 pm
To: php-general@lists.php.net
Subject: Re: [PHP] I'm having a blond moment with a while loop
6 matches
Mail list logo