@include('headerscript') @php $UserId = Session::get('UserId'); if(file_exists('json_files/json-file.json')){ $json = file_get_contents('json_files/json-file.json'); //Decode JSON $json_data = json_decode($json,true); $results = array(); } if(file_exists('json_files/timetables_date.json')){ $json2 = file_get_contents('json_files/timetables_date.json'); //Decode JSON $json_data2 = json_decode($json2,true); $results2 = array(); } @endphp