skatermike21988 Posted March 18, 2006 Share Posted March 18, 2006 i have a simple login script where registered members go to the members area. what i want to do is to have it retrieve data pertaining to that member on one page and then have an edit button to where they can edit the information and then it be updated in the database.Here are my questions.how would i have it recieve that data for that certain user?and how can i make it to where it updates the information when they edit?my database pertains of one table.this table contains:user id (not editable)username (not editable)password (editable as long as original password verified)datejoined (not editable)email (editable)first name (editable)last name (editable)I will be adding more to the table when time comes but right now this is what i am working with.I am by the way very new to php i have only been working with it for about 2 weeks now. Please all help will be apreciatedThanks In Advance Quote Link to comment Share on other sites More sharing options...
Barand Posted March 18, 2006 Share Posted March 18, 2006 This is the tutorial that got me started with PHP/MySQL[a href=\"http://www.sitepoint.com/article/publishing-mysql-data-web\" target=\"_blank\"]http://www.sitepoint.com/article/publishing-mysql-data-web[/a] Quote Link to comment Share on other sites More sharing options...
skatermike21988 Posted March 18, 2006 Author Share Posted March 18, 2006 [!--quoteo(post=356131:date=Mar 18 2006, 06:09 AM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Mar 18 2006, 06:09 AM) [snapback]356131[/snapback][/div][div class=\'quotemain\'][!--quotec--]This is the tutorial that got me started with PHP/MySQL[a href=\"http://www.sitepoint.com/article/publishing-mysql-data-web\" target=\"_blank\"]http://www.sitepoint.com/article/publishing-mysql-data-web[/a][/quote]Thanks Much But That Article Didn't Really Pertain To What I Am Needed To Do. Although It Will Be Useful For Another Part Of My Site.It Talked About Displaying Data From The Database Which I Already Know. But I Am Wanting It To Display A Certain Part Of That Table i.e users: i then have all registered users. if i use that code in that article it will diplay all of the registered users. i am wanting it to display only the data stored from when the user originally registered. or what they update etc. Quote Link to comment Share on other sites More sharing options...
Barand Posted March 18, 2006 Share Posted March 18, 2006 try[a href=\"http://www.phpfreaks.com/tutorials/40/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/40/0.php[/a] Quote Link to comment Share on other sites More sharing options...
skatermike21988 Posted March 18, 2006 Author Share Posted March 18, 2006 well that told me about makeing a members area which i alrady have set up. anything else you can throw at me would be a great helpThanks :) 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.