i'm using laravel 5.1, there's method "Auth" can generate the login, register,etc... But i have a question that how to get "that" username back as i wanted?
For example, i Registered as,
email: 123@123.com , name: 123
And in database, i have another table "profile", laravel model : "Profile", which contains:
email: 123@123.com , sex: male
In here, i want to show "male" in the view.
1) How laravel work to find specify data across different table ?
2) Does Laravel has other "word" to represent "this(123@123.com)" when it was logged already(Auth) ?
Thanks!!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire