Skip to content

How to retrieve the emailaddress of a user #668

Answered by datamweb
skeutmeier asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, try

$users = model('UserModel');
$user  = $users->findById(1);
echo ($user->email);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drumard
Comment options

@kenjis
Comment options

Answer selected by datamweb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants