Jump to content

Archived

This topic is now archived and is closed to further replies.

atwyman

Populating Information Throughout Session

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

Share this post


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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
sorry annoying ppl on my telephone support line i'll get back to you

Share this post


Link to post
Share on other sites

×

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.