mardi 29 septembre 2015

laravel5.1 sort method not working

I am using laravel and have a problem with this code $item=User:find($id_code)->items; //retrieving items of a user $item=$item->sortBy("price");//the returned value is not sorted at all.

waiting for you help



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire