I would like to take a string (I have loaded it from the database) and extract it into chunks.
The beginning string, lets call it "$string", has the following format:
(maybe more li's, maybe less, or even none)
What I would like to do is extract to an array each li, display each array element seperately ( with an option to "delete it"), then after add them back to the string and place back in the database. And yes I want each array element to include the li tags within(not that its necessary, I guess I could get around it)
I understand most of it, just getting hung up on how to extract each from the string and place into an array.
Anyone have an ideas how to go about this?