Download Jadwal Salur
This commit is contained in:
@@ -116,4 +116,16 @@ function getRole()
|
||||
$role = $role[0];
|
||||
|
||||
return $role;
|
||||
}
|
||||
|
||||
function getAlphabetCell($idx)
|
||||
{
|
||||
$alphabet = range("A","Z");
|
||||
if ($idx > 25)
|
||||
{
|
||||
$idx -= 26;
|
||||
return $alphabet[round($idx/25)].= getAlphabetCell($idx);
|
||||
}else{
|
||||
return $alphabet[$idx];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user