Re: [PHP-DB] mySQL Addition Problem

2001-05-16 Thread Miles Thompson
Dammit, that code looks right. So 1. Have you tried it at the mysql console? What results? 2. How accurately does day match $day? Have you tried = instead of LIKE? Maybe it's doing it twice? 3. Is day distinct? How do you know you have only one? When you tested with 2, assuming i had a

Re: [PHP-DB] mySQL Addition Problem

2001-05-16 Thread Szii
Message - From: Miles Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 3:50 PM Subject: Re: [PHP-DB] mySQL Addition Problem Dammit, that code looks right. So 1. Have you tried it at the mysql console? What results? 2. How accurately does day match

Re: [PHP-DB] mySQL Addition Problem

2001-05-16 Thread Miles Thompson
WOW - sharp eyes!! Miles At 04:02 PM 5/16/01 -0700, Szii wrote: Remove the comma after the SET clause? -Szii - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 3:50 PM Subject: Re: [PHP-DB] mySQL Addition Problem Dammit