I want to show a "Welcome Back [fname]" when a user is logged into thier account. The table name is members and field name is fname for first name.
Just not sure how to do this. I tried various ways but i get nothing. I am really new to this.
Please help if you can.
🙂
How do you know that a user is logged in?
If you compare there entered username and password with that same members table then those fields should have an ID
SELECT fname FROM members where ID = 'THE ID OF THE AUTHORIZED USER