You are here: Updating a field « PHP SQL « IT news, forums, messages
Updating a field

Posted by Brian on 02/16/07 15:30

Hi there

I'm sure this can be done but not sure of the MSQL code

I want to run an update statement on a field where it adds
X to want ever is already in the field?

e.g.
field = 10
Add = 5
update field add 5 to field so field now = 15
but if field was null then field now = 5

Brian



--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 2353 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация