Laravel this is not only a practical framework, it is also a programming style
My select query is returning an array... but I would like for it to return an object
PHP:
$language = DB::select(select query here);
I tried adding ->get() after but it seems that I can't add that to an array.
->get()
Aucun commentaire:
Enregistrer un commentaire