Laravel this is not only a practical framework, it is also a programming style
In controller:
public function store(Request $request) { $data = $request->all(); dd($data); }
Result : {"name":"Joni","age":"18"}
{"name":"Joni","age":"18"}
I want to convert it to an array ? give me ideas.Thanks
Aucun commentaire:
Enregistrer un commentaire