PDA

View Full Version : I need assistance with this


x3evolution
06-14-2012, 03:11 AM
I cant figure it out, how can i access data thats in a different database but on the same mysql server. I only need to access the data on custom pages that i am creating. If anyone has ANY insight on this please, let me know. thanks, I can provide more details but this is the basis of what i really need to do.

Thunderbird8
06-14-2012, 03:47 AM
You won't be able to do this with vB functions, as they only target the database that is configured in config.php. If you include vB files, you will still be able to get to the configuration parameters that you'd need to get to the database server, but you'd have to use stock PHP functions to execute queries on another database.

Of course, I could be wrong, but the only possibility I see of using vB functions in this way involves a rather convoluted method, to which you'd probably be better off with the standard functions anyway.