I'm using mysqli for vBulletin 3.8.2.
My question is what is the best way to query data from another DB outside the vBulletin DB? I do a few sql querys inside the vBulletin DB and then also one like the example, so i just have to query this outside DB once between a few other queries. My test query dose not work
PHP Code:
$stats = $db->query_read("SELECT
ID,
name,
last_event,
connection_time,
last_change
FROM stats.v1_stats_Users
WHERE ID >= 50
LIMIT 5
");
"stats" is the database outside vBulletin. So far also no luck with mysqli::select_db.
Can anyone help me please?
Thanks in advance!
--------------- Added [DATE]1243378781[/DATE] at [TIME]1243378781[/TIME] ---------------
Stupid me ... for 3 hours i read the same code and did not see my mistake

Sorry guys!