The string has a html content.
For example:
<ul>
<li>....</li>
<li>....</li>
<li>....</li>
</ul>
Is there any function in php that can convert a string to an array like this
array(
[0] => '<ul>',
[1] => '<li>....</li>',
[2] => '<li>....</li>',
[3] => '</ul>'
)
can any one guide me.