Dillon, John <mailto:[EMAIL PROTECTED]>  wrote on Wednesday, August
13, 2003 10:24 AM:

> How do you add a number to a field within the query, ie
> without having to
> extract?  Eg
> $query="UPDATE Choice SET visits=(visits+1) WHERE ID='$thisID'";
> is the above "visits=(visits+1)" legal, cos it doesn't work
> at the moment?

It's executing right?  Echo out your query statement and see what you're
asking for.

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

Reply via email to