php cookies question?

thebro90

New member
i need my server to fetch the email contained in the table X from username Y...username Y is currently stored in a $_SESSION cookie.
so the server has to look at the SESSION to find the username, look into table X to find the correct row which has username X (usernames are unique in that table), and then find the email of that username, and store the email in a cookie so i can use it.

thanx for the help
and where do i add that in my code? ive tried adding it in the after session start but now it stopped working
 
Back
Top