I am storing multiple ID's in a MySQL text field .. for example:
If I use for example
echo mb_strimwidth($s, 0, 7, NULL);
I don't want 1,3,4,5 to be returned but 1,3,4 as "5" is not a valid ID so I'd rather not have it at all
Also, they're may only be a single ID (no comma's at all) -- In this case it should return null as it won't have the space to store the ID #.
Please advise, thanks.