On Thu, 28 Dec 2006 13:48:28 -0800, louis fridkis wrote:
Hi Louis
> while($cel_sth->fetch()){
What makes you think this is not returning one row at a time?
I assume the real problem is in the code you've suppressed.
> $printstring =~ s/,$/);/; print "$printstring\n"; }
Using s// to replace a char is shooting a mouse with an elephant gun. Try:
substr($x, length($x) - 1, 1) = ');';
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 29/12/2006
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company