I know you are asking for this ... quite a few times ... It is very easy .. Since we are not using database in this tutorials so it can't be done. Follow the steps below.
1) Create 2 Tables in your database. 1 for Login Details (such as UserId, UserName, Password etc) and 2 for Profile Data (such as Name, address, Email, Mobile, Phone) and use UserId as Foriegn Key in Profile table. 2) Once you are authenticated just get the Name from Profile table using UserId.
That's all it is and you can display that name on any screen you want afterwards.
How to Display a Current Login: John
ReplyDeleteI know you are asking for this ... quite a few times ... It is very easy .. Since we are not using database in this tutorials so it can't be done. Follow the steps below.
Delete1) Create 2 Tables in your database. 1 for Login Details (such as UserId, UserName, Password etc) and 2 for Profile Data (such as Name, address, Email, Mobile, Phone) and use UserId as Foriegn Key in Profile table.
2) Once you are authenticated just get the Name from Profile table using UserId.
That's all it is and you can display that name on any screen you want afterwards.
Thanks.