Creating a Multi-user Todo System

Discussion in 'PHP' started by ct2k7, Aug 5, 2008.

  1. #1
    Hi, how would I create the multi-user part of a to-do system?
     
    ct2k7, Aug 5, 2008 IP
  2. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Your question is to vague, can you provide more details...
     
    nabil_kadimi, Aug 5, 2008 IP
  3. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ok - I'm writing a To-Do system in PHP.

    I would like to know how I would be able to create this system - but make it multi-user, so that it becomes a person to-do system for each person that logs into let's say a member's area.

    Thanks.
     
    ct2k7, Aug 6, 2008 IP
  4. JMen

    JMen Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use sessions to determine wich user works with system.
     
    JMen, Aug 6, 2008 IP
  5. BDazzler

    BDazzler Peon

    Messages:
    215
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Step 1: Define Your Database with the following minimal tables:
    Task (TaskID, TaskName, TaskDescription, Priority)
    User(UserID, UserName, PasswordHash, emailAddy)
    TaskUser (TaskUserID,TaskID,UserID)

    Step 2: Create a login/sign up system to manage the user table.

    Step 3: Create an Add/Edit/Search/Sort/Delete page for the tasks.

    Step 4: Create a way to assign tasks to a user and rcord them in the TaskUser Table.

    With this method yom may have a many to many realtionship between Tasks and Users.
     
    BDazzler, Aug 7, 2008 IP
  6. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I used that method :)
     
    ct2k7, Aug 7, 2008 IP