@extends('layouts/gnr_layout')
@section('title', '| Area List')
@section('content')
@php
$areaIdsArray = DB::table('gnr_zone')
->pluck('areaId')
->toArray();
$areaForeignIds = [];
foreach ($areaIdsArray as $areaIdArray) {
$areaIdArrayString = str_replace(['[', ']', '"'], '', $areaIdArray);
$areaIds = explode(',', $areaIdArrayString);
foreach ($areaIds as $areaId) {
array_push($areaForeignIds, (int) $areaId);
}
}
$areaForeignIds = array_unique($areaForeignIds);
@endphp
Warning: Undefined variable $TCN in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/gnr/tools/area/viewArea.blade.php on line 44
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/gnr/tools/area/viewArea.blade.php:44
Stack trace:
#0 {main}
thrown in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/gnr/tools/area/viewArea.blade.php on line 44