dsilegends
New Member
- Messages
- 11
- Reaction score
- 0
- Points
- 0
I am trying to figure out how to add the user's id from the database to put in their profile. (EX: You are user: XX!)
I have usernames working:
But I tried adding id instead of username, without luck. How would I do this?
Another thing, how would I show on the homepage "XX Users have currently registered!" ?
I have usernames working:
PHP:
echo "Welcome to your profile, $_SESSION[username]!";
But I tried adding id instead of username, without luck. How would I do this?
Another thing, how would I show on the homepage "XX Users have currently registered!" ?