The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to query custom table
I created a custom mysql table using a separate prefix and I wrote a plugin to read from it in vB, but when I do:
PHP Code:
Code:
Invalid SQL: SELECT some_field FROM my_custom_table WHERE some_field = 'some value'; MySQL Error : Table 'vb.my_custom_table' doesn't exist Even though when I am in mysql CLI as the vb database user and: Code:
mysql> select * from my_custom_table; +------------+ | some_field | +------------+ | foo | +------------+ 1 row in set (0.00 sec) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|