| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|MySQL Update, need to rise data in second column field list.|
| 11:03 pm on Mar 17, 2010 (gmt 0)|
I have two columns in my table.
In data column there is data like this
tptes 2190110 134 350 1220 175 255 400 270 0 180 100 40 735 100
I want to update by specifying username and how much to add to third number from left.
For example I want to add 50 then value 134 would become into 184. Also all other values stay untouched.
Please note that these values are always different to every user.
| 1:34 am on Mar 18, 2010 (gmt 0)|
Why are you storing all those values in one column?
It would be much easier if you stored them in separate columns which are numeric.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved