when you change manually the $step variable to 0.5 -> the array with times is not saving the values correct.
because you cant create an array with an key with an floatval.
Floats and numeric string in key are truncated to integer.
more flexible for step.
$times[$timearr] = $time . ' - '.$time2.' Uhr'; $timearr++;
when you change manually the $step variable to 0.5 -> the array with times is not saving the values correct.
because you cant create an array with an key with an floatval.
Floats and numeric string in key are truncated to integer.
more flexible for step.
$times[$timearr] = $time . ' - '.$time2.' Uhr'; $timearr++;