snallemap Posted September 24, 2010 Share Posted September 24, 2010 Hey guys! I ran into another problem, i am looking to create a system so my users can go edit their accounts such as: Password, Age and Info and so on. but im am totally blank so i need some kind of tutorial to get started, or maybe help if anyone got time for that. Thanks Quote Link to comment Share on other sites More sharing options...
litebearer Posted September 24, 2010 Share Posted September 24, 2010 1. user goes to login page 2. process login - store user id in session variable go to edit form page 3. edit form page do query using user id to get editable info display form use data from database as the values of the form fields post to edit process page 4. edit process page retrieve user id from sessions variable retrieve form fields using POST do UPDATE query where table id = session variable id Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted September 24, 2010 Share Posted September 24, 2010 Allow me to add step 4a: VALIDATE form data! Quote Link to comment 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.