Jump to content

anyhelp would be great


lvlasked
 Share

Recommended Posts

hello im new to this and hopping you guys can help and i can learn,

 

what i want to be able todo hope i explaine this right,

i would like for people to sign up to the website and they can store there data/info, my questions are how do i do it so each user has there own data show up, and can edit add or delete things,

 

something like this site pigeondb.com

Link to comment
Share on other sites

In general, you need to associate the data with the user. Most of the time that's accomplished in the database by having a field for each record that holds the user ID associated with that record. If multiple users can have access to the same records then you need to use another table to hold the relationships between the data and the users. All of that is part of relational database design.

Link to comment
Share on other sites

  • 3 weeks later...

This is a question about database design. Like I said, you put a column in the database table that holds the user ID that the record belongs to. If you have a "posts" table, one of those columns will be the user ID who created that post. That is how you associate a record with a single user, or how you represent any one-to-one or one-to-many relationship in a relational database. What you should be researching is relational database design rather than asking Google a question based on your specific situation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...