In Codeigniter, I have a login / registration form, everything is configured, it works fine, however how can I display the username of the current user, that is, when the user is logged in, he would say "Welcome, [username]".
I also need to know this in order to be able to output a record from the database based on the current user ID, how can I do this? I looked through the documents on codeigniter, but could not find what I was looking for. I am using active recording.
thank
user520351
source
share