Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Getting username out of a database to put in another

    Well I've 2 databases, one with the users information(id, name, password). And one database with some other optional stuff. To add something to a list.(name of group, short description, long description and also the username).

    Is it possible to get the username out of database one and put it into database 2. Or should I use just one database?

    I need to get the username, name of the group and short description in one html class.

  • #2
    Super Moderator guelphdad's Avatar
    Join Date
    Mar 2006
    Location
    St. Catharines, Ontario Canada
    Posts
    2,633
    Thanks
    4
    Thanked 148 Times in 139 Posts
    it is related information and does not belong in separate databases, unless you mean separate tables.

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by guelphdad View Post
    it is related information and does not belong in separate databases, unless you mean separate tables.
    Well the information is sort of related, far from all the users will make us of the "second database" so. It still should be in one database I guess, it doesn't mind far from all make use of it?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •