[PHP] Query refuses to recurse all rows

2008-05-28 Thread celtic
Hi, In the following code, only the first row from query1 displays along with the display stuff from query3. The problem: query1 refuses to recurse to the next and following rows. It appears that the sub-queries in the main query cause the $row++; not to work. Is there some conditional that

Re: [PHP] Query refuses to recurse all rows {RESOLVED]

2008-05-28 Thread celtic
Thanks Wolf and Chris, That did the trick -- now I just have to clean up the order a bit. Amazing how another's view can see the problem so clearly -- I was way too close, what with otehr coding - should've seen it! Regards, Andre (celtic) On Wednesday 28 May 2008, Wolf wrote: >

Re: [PHP] Query refuses to recurse all rows

2008-05-28 Thread celtic
Thanks for the nifty advice -- code sure looks pretty now and works like a charm! Regards, Andre (celtic) On Wednesday 28 May 2008, Jim Lucas wrote: > If I may, I would like to suggest a few other changes that you might like. > > first off, don't use counters, they wa

[PHP] Bulk Email Problems

2008-06-08 Thread celtic
ipient_fullname <$smail>"; // call mail function $headers = "From: $sender"; $response = mail($recipient, $subject, $message, $headers); if ($response[0] == 0) { print "Run #$run-$current New