Mine
public php v1 · immutable<?phpwhile($row = mysql_fetch_assoc($obj)) { // Soo first lets get number of the string.$enabled = FALSE;$push = "";for($i = 0; $i < strlen($row['NAME'])-1; $i++) if(ctype_digit($row['NAME']{$i} && !$enabled) $push .= (int)$row['NAME']{$i}; else break;// NOW LETS SEE IF IT IS IN ARRAY ALREADYif(!in_array($push,$arr)) { $list[] = $row['NAME']; $arr[] = $push }}?>