Please, i want to get every string between two same element (only strong, not between strong and /strong).
Example string:
<strong>NAME1</strong><br />Some text, some text<br />
<strong>NAME2</strong><br />Some text2, some text2<br />
<strong>NAME3</strong><br />Some text3, some text3<br />
I try this one:
preg_match_all("'<strong>(.*?)<strong>'si", $text, $match);
but result is:
<strong>NAME1</strong><br />Some text, some text<br /><strong>
<strong>NAME3</strong><br />Some text3, some text3<br />
,,NAME2" with ,,some text2" missing, why?
Thank's a lot, Regards, Lukas