htmlspecialchars() expects parameter 1 to be string, array given (View: C:\xampp\htdocs\rw3\resources\views\index.blade.php) code example
Example 1: htmlspecialchars() expects parameter 1 to be string, array given (View: C:\wamp64\www\DMS\resources\views\roadschedule\all_schedule_on_calender.blade.php)
$name = empty($seat[$first]['name']) ? $seat[$first]['name'] : $seat_no;
Example 2: htmlspecialchars() expects parameter 1 to be string, array given (View: C:\wamp64\www\DMS\resources\views\roadschedule\all_schedule_on_calender.blade.php)
$seat_data[$i] = [
'name' => $seat[$first]['name'],
'id' => $seat[$first]['id'], ];