RE: Generating UPDATE in loop, how to deal with pesky comma - SOL VED

2003-11-26 Thread Swati K
, November 27, 2003 6:41 AM To: [EMAIL PROTECTED] Subject: RE: Generating UPDATE in loop, how to deal with pesky comma - SOLVED Well, how about that. Using PHP, it just get's better each time! I found this little snippet and adjusted accordingly... http://us2.php.net/manual/en/function.implod

RE: Generating UPDATE in loop, how to deal with pesky comma - SOLVED

2003-11-26 Thread Daevid Vincent
D] > Sent: Wednesday, November 26, 2003 4:54 PM > To: [EMAIL PROTECTED] > Subject: Generating UPDATE in loop, how to deal with pesky comma > > I'm generating a dynamic UPDATE command in a loop. The > problem is the stupid > comma. > > Given this general idea, how do I han

Generating UPDATE in loop, how to deal with pesky comma

2003-11-26 Thread Daevid Vincent
I'm generating a dynamic UPDATE command in a loop. The problem is the stupid comma. Given this general idea, how do I handle the pesky comma. It's either in the front and in the way, or on the trailing end and in the way... I either end up with something like this: mysql> UPDATE contact_table SET