0 && $row_tmp[0]!= '') { if (!is_null($row_tmp[0])) { foreach ($row_tmp as $index => $value) { $row[$keys[$index]] = $value; } $result[] = $row; } } } fclose($handle); return $result; } } ?>