Populating Information Throughout Session
Posted 13 June 2006 - 12:40 PM
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.
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
Posted 13 June 2006 - 12:52 PM
Posted 13 June 2006 - 12:57 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
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)
Posted 13 June 2006 - 01:00 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users