I have this little "subscribe to thread" function and I need to have some means for deleting the user out of the subscription if they choose. What I believe would be ideal is for me to simply delete their ID from the subscription_array that I've created (which does some other little things too).
I don't believe I can do this with array_slice.
The best practice I can see is to basically use the subscription_string and do a str_replace, preg_replace or whatever to remove the ID.
The one issue with that though is if I had user 1 unsubscribing then the _replace functions would also effect any "1". Hmmm...
Is that right? Or, maybe I'm missing an array function that could do this little trick?
Thanks for any advice, v