php – How to format different arrays to list out in table using modulo? – Stack Overflow

Questions: This is my array $headers = ‘ ‘0’ => ‘Mon 10/02/2020’, ‘1’ => ‘Tue 11/02/2020’, ‘2’ => ‘Wed 12/02/2020’, ‘3’ => ‘Thu 13/02/2020’, ‘4’ => ‘Fri 14/02/2020’, ‘5’ => ‘Sat 15/02/2020’, ‘6’ => ‘Sun 16/02/2020’, ‘7’ => ‘Mon 17/02/2020’, ‘8’ => ‘Tue 18/02/2020’, ‘9’ => ‘Wed 19/02/2020’, ]; $data = [ [ ‘RoomName’ => …