0
I have a column called clube and in one line she has the following {"clube":["Santos"]}, using this form for the data
$clubes = Socios::where('socio', $socio)->select('clube')->get();
He returns to me this way [{"clube":"{"clube":["Santos"]}"}], with an external array called clube, how can I return only what is inside the field in the database ??
clubeis not the field name ??? and inside the array isclubetoo? just catch the result$clubes[0]->cluble???– novic