Skip to content
Advertisement

Tag: accordion

PHP Split html string into array

I hope I can get some help from you guys. This is what I’m struggling with, I have a string of HTML that will look like this: I need to split all the <h4> from the rest of the content, but for example the content after the first <h4> and before the second <h4> needs to be related to the

Advertisement