The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to read from the database ?
Hi,
It seems that there are several functions for this: query_read, query_read_slave, query_first, query_first_slave. When it is appropiate to use each of them ? Regards, Razvan M. |
#2
|
||||
|
||||
query_read(_slave) is for select queries, while query_first(_slave) will return the first row of the result. _slave will use the slave database (if there is one)
There's also query_write, which you can use for updates and inserts, etc. |
#3
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=119350&highlight=database+class" target="_blank">Using the vBulletin Database Class</a>
That is an excellent article that ought to give you all the information you need to know regarding the proper use of vBulletin's database class. |
#4
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|