I want to output pilot name

The login user name output :

echo Auth::$userinfo->lastname

 

but i want output name from pilot id

How can i do?

 

sorry for my bad english.

 

(phpvms 5.5.x)

Hi, if you page says $userinfo without the Auth:: then just use $userinfo->pilotid or $userinfo->id (cant remember which) you can also try to use Auth::$userinfo->id if it is using Auth. Do update me