![]() |
Using a query in a plug-in
I'm writing a hack and I can't figure out how to query a table and then use the data in a plug-in. I get this error:
Quote:
PHP Code:
|
Quote:
Since it is inside a class use: PHP Code:
Also, that code looks like it runs a query for every post, which I don't suggest doing. |
All times are GMT. The time now is 05:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|