The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Selecting different DBs
I've created two new tables that I've added into my vbulletin database.
But can someone possibly explain how you access and query other (non-vb) databases, to run queries, and then be able to add the results of those queries into your vbulletin database? I done the below, but I'm not sure how to return back to the vbulletin database. PHP Code:
|
#2
|
|||
|
|||
Can anyone maybe give a hand?
I'm reading all I can on the vbulletin database class, but I can't seem to figure out how to re-access the my vbulletin database after using mysql_select_db() to work with a non-vb database. |
#3
|
||||
|
||||
You can use this "query style" to access a different database (as long as the user has permissions to do so). This does not need the mysql_select_db() function.
[sql]SELECT * FROM database1.table1[/sql] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|