![]() |
Query data from a different database?
I am trying to display a list of events from Joomla, which is on a different database and server. I am new to writing VB plugins, but here is what I have so far (real information replaced with *****):
Code:
$this->dbobject->connect('**databasename***','***hostname***','3306','***user***','***password***',false); Any help would be appreciated. :) |
You need to make $upcomingevents a value and not just the name of the plugin
|
Is this what you mean? It didn't work, so I'm probably writing something wrong.
Code:
$upcomingevents = mysql_fetch_array( $result ); I also tried this: (it also didn't work) Code:
$row = mysql_fetch_array[ $result ); |
All times are GMT. The time now is 05:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|