RE: Update and change a value

2001-01-23 Thread Cal Evans
I just created a test table with the 3 fields and used: where visits=visits+1 without the trailing comma and everything worked fine. Cal http://www.calevans.com -Original Message- From: Jamie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 3:52 AM To: [EMAIL PROTECTED] Sub

Re: Update and change a value

2001-01-23 Thread Peter Pentchev
January 2001 6:02 PM > To: [EMAIL PROTECTED] > Subject: Re: Update and change a value > > > * Jamie <[EMAIL PROTECTED]> wrote on 23.01.01 11:51: > > UPDATE users SET visits=visits+1, WHERE user_id='$user' AND > > passwor

RE: Update and change a value

2001-01-23 Thread Jamie
anuary 2001 6:02 PM To: [EMAIL PROTECTED] Subject: Re: Update and change a value * Jamie <[EMAIL PROTECTED]> wrote on 23.01.01 11:51: > UPDATE users SET visits=visits+1, WHERE user_id='$user' AND > password='$password' If that comma after +1 is not a typo in the

Re: Update and change a value

2001-01-23 Thread Tomi Junnila
* Jamie <[EMAIL PROTECTED]> wrote on 23.01.01 11:51: > UPDATE users SET visits=visits+1, WHERE user_id='$user' AND > password='$password' If that comma after +1 is not a typo in the mail, then that's what's causing the problem. -- Tomi Junnila <[EMAIL PROTECTED]> http://www.badzilla.net/~topej