dimanche 8 juillet 2018

How to get a full of string id of user that using Auth Laravel

I'm having problem with getting user id to use as argument on route link of Laravel.

I changed the id column type of user table from int to varchar(80), when i use Auth::user()->id to get the id of user, it just return only first 3 character of string...

How can i get a fully of string id?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire