use return view('index',array(meetingData"=>$meetingData)); OR return view('index',compact($meetingData));
Try:
public function index()
{
$meetingData = Newsnotice::news();
$meetingData = json_decode(json_encode($meetingData),true);
return view('index', compact('meetingData'));
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community