#1 July 14, 2018 9:29am

enkansah
Member
Registered: November 10, 2015
Posts: 5

Loading data from external database

Hey there,

I'm trying to figure out if its possible to load data from another database besides the one used for the current big tree installation. I'll like to display some information from another database possibly hosted on another server. And if it is possible how would I go about it?

Offline

#2 July 15, 2018 7:17am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 865

Re: Loading data from external database

Sure, you would just need to manually make calls to a new mysqli object.

Offline

#3 January 29, 2019 12:39pm

Harrid
Member
Registered: January 28, 2019
Posts: 1

Re: Loading data from external database

Hi Tim, I presume this works for more than one database too, right?

Offline

#4 January 29, 2019 1:22pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 865

Re: Loading data from external database

Yes, you can make as many mysqli object instances as you need to connect to multiple databases / servers.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.