0

Is it possible to use more than one database inside an single website ? All were i seen that only one db inside a website .Is it possible to use more than one database inside a single php website ? If it's possible please give an example with php and mysql .

1
  • 1
    Yes, it is possible. Commented Aug 17, 2015 at 11:26

1 Answer 1

0

Yes, you can access any of your databases in PHP if you enter the correct authentication (host, username, and password).

  • An example of this: Having more than one database connection script and including the connection scripts in a single PHP file, thus using and potentially interacting with more than one database within a single PHP file.
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.