PeejAvery! You probably saved me hours of head bashing! Thank you!
I've changed some little things so I got the hole table in one array like I wanted:
Thank you very much PeejAvery! Thank you also mmetzger for your attention.Code:$row = 1; $column = 1; $items = array(); foreach ($matches[1] as $match) { $items[$row][$column] = trim($match); $column++; if ($column == 6) { $column = 1; $row++; } } print_r($items);




Reply With Quote