Quickly Add or Remove Users from Buddy List
I'm looking to quickly add a user into the buddylist array - or then remove it from that array with a different command.
So if user A wants to add user B to their buddylist, it runs a quick check, then alters that column (usertextfield.buddylist).
If they want to remove the buddy - it removes the ID from usertextfield.buddylist.
What's the SQL for this? Do I have to first grab all the data from buddylist, and then add the value, and then put it back in? Is there a easier way?
|