conferencesAllFormatted($from_time,$until_time); if (!empty($search)) { $conferences = array(); $conferences['records'] = array(); foreach ($search as $item) { extract($item); $conference_record = array( // assign title to the field in the array record 'jitsi_component' => $jitsi_component, 'start' => $start, 'end' => $end, 'conference_id' => $conference_id, 'conference_name' => $conference_name, // 'participants' => $participants, 'participants' => $participants, 'name_count' => $name_count, 'conference_host' => $conference_host ); // populate the result array array_push($conferences['records'], $conference_record); } } } catch (Exception $e) { $error = $e->getMessage(); } echo "Conferences for the time period $from_time - $until_time"; if (!empty($conferences['records'])) { echo "\t
" . htmlspecialchars($header) . " | "; } echo "\t\t
---|
" . htmlspecialchars($column) . " | "; } echo "\t\t
No matching conferences found.
'; } ?>