RE: [PHP-DB] Update
| From: | Gurhan Ozen | Date: | Mon, 04 Feb 2002 21:58:39 +0000 |
| Subject: | RE: [PHP-DB] Update | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16511@lists.php.net to get a copy of this message | ||
Try it without quotes around days_member and 1.
Gurhan
-----Original Message-----
From: Jennifer Downey [mailto:gcarlyle2@attbi.com]
Sent: Monday, February 04, 2002 4:51 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Update
Hi,
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"]);
Thanks in advance
JD
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php