Alexej Kubarev
New member
you need to authenticate the user and save his/her id in a session, then check the DB for the information about this user, with this user id (taken from the session) and output it 
Code:
Auth table:
id(int, auto_increment) username(text) password(text, md5 hash)
User info table
id(int, auto_increment) user_id(corresponds to the id in the auth table) some more tables with information