The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How does vBulletin handle Mysql SQL statements?
I am looking for a tutorial on how vBulletin uses MySQL in the PHP scripts. It seems like the db connection and other info is store in a function or script but I can't find it. I want to add several queries to non-vb php pages. Any help would be appreciated.
|
#2
|
||||
|
||||
well, the $DB_site is an object which holds the connection and executes the queries, look into db_mysql.php for more infos about that class.
executing queries is very easy, just include global.php in your script and then use Code:
$DB_site->query('Your query here'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|