Jump to content

Number Sequence


steveangelis

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.