@extends('layouts/gnr_layout')
@section('title', '| Zone')
@section('content')
@php
$zoneIdsArray = DB::table('gnr_region')->pluck('zoneId')->toArray();
$zoneForeignIds = array();
foreach ($zoneIdsArray as $zoneIdArray) {
$zoneIdArrayString = str_replace(['[',']','"'], '', $zoneIdArray);
$zoneIds = explode(',', $zoneIdArrayString);
foreach ($zoneIds as $zoneId) {
array_push($zoneForeignIds,(int) $zoneId);
}
}
$zoneForeignIds = array_unique($zoneForeignIds);
@endphp
Warning: Undefined variable $TCN in /home/shikkhaplus/public_html/resources_16_05_2024/views/gnr/tools/zone/viewZone.blade.php on line 41
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/resources_16_05_2024/views/gnr/tools/zone/viewZone.blade.php:41
Stack trace:
#0 {main}
thrown in /home/shikkhaplus/public_html/resources_16_05_2024/views/gnr/tools/zone/viewZone.blade.php on line 41