atwyman Posted June 13, 2006 Share Posted June 13, 2006 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 thisName - Populated from Log inEmail Phone - Populated from Log inFax - Populated from Log in//form on the same pageWhat would you like ? FillWhat do you want ? FillHow are you today ? Fill Quote Link to comment https://forums.phpfreaks.com/topic/11864-populating-information-throughout-session/ Share on other sites More sharing options...
joquius Posted June 13, 2006 Share Posted June 13, 2006 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 Link to comment https://forums.phpfreaks.com/topic/11864-populating-information-throughout-session/#findComment-44996 Share on other sites More sharing options...
atwyman Posted June 13, 2006 Author Share Posted June 13, 2006 [!--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 Quote Link to comment https://forums.phpfreaks.com/topic/11864-populating-information-throughout-session/#findComment-44998 Share on other sites More sharing options...
joquius Posted June 13, 2006 Share Posted June 13, 2006 sorry annoying ppl on my telephone support line i'll get back to you Quote Link to comment https://forums.phpfreaks.com/topic/11864-populating-information-throughout-session/#findComment-45001 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.