vendredi 17 juin 2016

Laravel get single column result as string

Hello I would like to know is it possible to get column value as string. Instead of array in array:

Current query: Number::limit('1000')->get(['number'])->toArray()

The result at the moment is this:

Array in array

Preferable result:

String instead of array



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire