Jump to content

Populating Information Throughout Session


atwyman

Recommended Posts

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
Link to comment
Share on other sites

[!--quoteo(post=383241:date=Jun 13 2006, 04:52 AM:name=joquius)--][div class=\'quotetop\']QUOTE(joquius @ Jun 13 2006, 04:52 AM) [snapback]383241[/snapback][/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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.