mercredi 28 juin 2017

Laravel select query returning array

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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire