Hi all,
In my coding I have one database in which a table exists which holds the names of all administrators, with username, passwords and such.
However, this database also holds a table field called news.
The news I need, however, stays within another database, but that table is also called news.
Within the administration area we have a page which solely does updates to the database, and it also checks the username/password to verify if the administrator has the right to access the page.
However, I when I check the username/password I have to connect to the database.
When I post a news section I post to the table news, but ALSO to news table of the administrator-database.
So basically what I want is connect to the administrators database, check the username/password and disconnect.
How do I do this?