steveangelis Posted September 5, 2009 Share Posted September 5, 2009 In one of my database tables I have a series of numbers seperated by a comma like this: 1,4,5,6,10,45,89,189,190 The numbers are differant for every user for the most part. I know how to retrieve all of the data, FIND_IN_SET('NUMBER', TABLEFIELD), but what I am trying to do is add to it. For instance, I have that series of numbers, 1,4,5,6,10,45,89,189,190, and I want to add say 50 into that pile. How would I write the query? Link to comment https://forums.phpfreaks.com/topic/173254-number-sequence/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 5, 2009 Share Posted September 5, 2009 Assuming you just want to add it onto the end - http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat Link to comment https://forums.phpfreaks.com/topic/173254-number-sequence/#findComment-913252 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.