1 year ago

extracting user details from user_id

Posted 1 year ago by icelander

in my view am able to output data from my controller.

 <td> {{$paid['location']}} </td>

this works perfectly well. but when I do

<td> {{$paid['user_id']['firstname']}} </td>

i get an empty result. pls how do i get the user details like firstname from the user_id?

Please sign in or create an account to participate in this conversation.