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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tmrR4n
via IFTTT

Aucun commentaire:

Enregistrer un commentaire