Hi Jennifer,

> I am having problems with this code. I want to update a members number of
> days they have been a member can anyone help?
> $query["days"]=("UPDATE users set days_member VALUES = ('days_member' +
> '1'));
> $result=mysql_query($query["days"]);

=1 RTFM 6.4.5  UPDATE Syntax

=2 Why would you want to take on a daily load like this. Wouldn't it be easier to 
record joining date and
calculate membership period when needed?


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to