user table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradeepjain
    Contributor
    • Jul 2007
    • 563

    #1

    user table

    Hii guys,
    i want to create a table when a user registers with our site a table must be created for him and then after that when he submits his abstracts it must create a new row fro each abstract.Is this possible



    thanks,
    Pradeep
  • chelvan
    New Member
    • Aug 2008
    • 90

    #2
    hi
    welcome

    why not? its possible

    chel-1

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Now that your question has been answered ... er ..
      how many users are you expecting and how many "abstracts" per user are you expecting?
      Perhaps you could just use one abstracts table with a user_id as a foreign key?

      Comment

      • pradeepjain
        Contributor
        • Jul 2007
        • 563

        #4
        hii,
        A user can submit any number of abstracts .so only the problem.I have a small idea which i am working on i.e When a user registers with the site he is given an ID so when he registers we store all the information in table and then create a table with ID as table name with some default fields .And when the user submits the abstract we keep on adding rows per abstract.So is there any improvement to this


        thanks,
        Pradeep

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #5
          I would have a user table and an 'abstracts' table. The user table contains a unique ID and the users name, and the 'abstracts' table contains the ID of the user and the 'abstract' itself. That way, you don't clog up your mysql database with loads of unnecessary tables.

          Comment

          Working...