getFlashdata('message'); if ($flashMessage) : ?>
getFlashdata('message') ?? 'Welcome' ?>
importSpreadsheet(); $file = $_FILES('file'); $inputFileType = IOFactory::identify($file); $objReader = IOFactory::createReader($inputFileType); $sheet = $objReader->load($file); $sheetValue = $sheet->getSheet(0)->toArray(); $newRecord = $ignoreRecord = 0; if (is_array($sheetValue) && count($sheetValue) > 1) { foreach ($sheetValue as $key => $value) { if ($key == 0 || empty($value[0])) { continue; } $userdata = []; } } $output = []; return $output; } /* |------------------------------------------------------------------- | Section |------------------------------------------------------------------- | */ // STD $v = (object)(array)$v; echo '
';
echo print_r($result ?? 'untilhere');
echo '
'; exit; ?>