I'm Going to simulate a DB to show you what I need.
ID , UserNamr , Passord , Info1 , Info2,
1 , JoseMaria , abcdefg , fhreyr75gujgh, dtry,
2, MoeESpin , 123465, h68hth578686 , tutru
I Think You allready know that.
Well I have a Login wertr the User writes there Username and Password.
I kneed to get the Info1, and 2 For that person when they log in.
Thanks for all the help
Geting Info after Login
Moderator: General Moderators
- moiseszaragoza
- Forum Commoner
- Posts: 87
- Joined: Sun Oct 03, 2004 4:04 pm
- Location: Ft lauderdale
- Contact:
select *
why not just
if all the info is in the same table.
Code: Select all
SELECT * FROM usersTable WHERE userNamr='$userName' AND PASSORD='$password'- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
good point
very good point mac.
I was just going with the easy example to give moiseszaragoza an idea of what to do.
I was just going with the easy example to give moiseszaragoza an idea of what to do.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Re: good point
No worries, I just get twitchy when I see plain text passwordsphpScott wrote:very good point mac.
I was just going with the easy example to give moiseszaragoza an idea of what to do.
Mac