I have the following code aand understand split()is deprecated - please can someone help out with replacement code.
ThanksPHP Code:foreach ($lines as $l) {
if (trim($l) != "") {
$t = (array)split("\r\n", trim($l));
if ($t[1] == 'TRUE') $total_items++;
}
}
Allan


Reply With Quote
Bookmarks