dimanche 19 mai 2019

Pluck or Something else?

DB::table('mobil')->where('id',$id)->first().

I ever try it, but it give me all columns data. The problem is, In this Mobil table I have name, status, des, model and Id. The data that I need is name, status, and des. Can you help me to make a code to take some data that I need and it must one row. It must first row



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire