This made it work:
$aaData = Member::take(1)->get()->toArray(); return json_encode(array("aaData" => $aaData)); return $return;
thanks to bencohenbaritone for the solution provided in chat.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community