This question already has an answer here:
- Converting a string into an array 4 answers
I have a string like this:
$values = "[121],[622],[872]";
I would like to convert this into an array, I would like each number in the square brackets to be an array item.
any suggestions how I can do this?
</div>