[PHP] Re: Incrementing a table cell

2002-07-01 Thread Richard Lynch

In article [EMAIL PROTECTED] , [EMAIL PROTECTED]
(Jj Harrison) wrote:

what is the best way to increment a mySQL table cell?

is there a increment function or do I need to increment it in php?

Do you mean like this:

update myTable set myCell = myCell + 1 where myId = 42

-- 
Like Music?  http://l-i-e.com/artists.htm


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




[PHP] Re: Incrementing a table cell

2002-06-28 Thread JJ Harrison

Thanks
Jj Harrison [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 what is the best way to increment a mySQL table cell?

 is there a increment function or do I need to increment it in php?







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