I have this string:
$str = '<td class="title">Genre:</td><td class="detail"><a href="/en-us/store/browse/action"> Action </a></td></tr>';
$str2 = '<td class="title">Release Date:</td><td class="detail"> January 13 2009 </td></tr>';
I need to get an associative array structured like this:
$arr[$title] = $detail;
My problem is not the pattern itself, but how to create an array. Thanks for any help.