Jump to content


Photo

Populating Information Throughout Session


  • Please log in to reply
3 replies to this topic

#1 atwyman

atwyman
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 13 June 2006 - 12:40 PM

I am developing a site (obviously) anyhoo.

I am building a posting system that takes information from forms and sends it to my database.
The problem is this....I want all forms to have the contact information imbedded in them, but do not want my members to have to keep writing this information in.
I want it to sort of populate into the form when they log into the website.
This way there can be multiple postings with the same users.

//Like this
Name - Populated from Log in
Email Phone - Populated from Log in
Fax - Populated from Log in

//form on the same page

What would you like ? Fill
What do you want ? Fill
How are you today ? Fill

#2 joquius

joquius
  • Members
  • PipPipPip
  • Advanced Member
  • 319 posts

Posted 13 June 2006 - 12:52 PM

you need to use sessions to store a user_id, and then retreive the users data from a table withthe list of users, using the stored user_id as reference
z..z..z..z..z..z..z..z..

#3 atwyman

atwyman
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 13 June 2006 - 12:57 PM

[!--quoteo(post=383241:date=Jun 13 2006, 04:52 AM:name=joquius)--][div class=\'quotetop\']QUOTE(joquius @ Jun 13 2006, 04:52 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
you need to use sessions to store a user_id, and then retreive the users data from a table withthe list of users, using the stored user_id as reference
[/quote]

So...would it be more of a relative thing..taking the username as the key and using it to populate throughout the site...Is there a tutorial you know of that would walk me through developing a user list and creating sessions (correctly)

Thanks


#4 joquius

joquius
  • Members
  • PipPipPip
  • Advanced Member
  • 319 posts

Posted 13 June 2006 - 01:00 PM

sorry annoying ppl on my telephone support line i'll get back to you
z..z..z..z..z..z..z..z..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users