Jump to content

Retrieving Data Stored on a database


skatermike21988

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
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.