Jump to content

Archived

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

skatermike21988

Retrieving Data Stored on a database

Recommended Posts


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 apreciated

Thanks In Advance

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
try

[a href=\"http://www.phpfreaks.com/tutorials/40/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/40/0.php[/a]

Share this post


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

Thanks :)

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.