![]() |
Query in postbit
I am trying to make a query inisde ta plugin with the location:postbit_display_complete but when i put $db->query_read or $vbulletin->db->query_read then you get:
Quote:
|
It's in a class, so try:
PHP Code:
|
now i have:
PHP Code:
|
I have the same problem.
How can I query my DB in a postbit_display_complete location plug-in? --------------- Added [DATE]1218810281[/DATE] at [TIME]1218810281[/TIME] --------------- With: $this->registry->db->query_read(" SELECT COUNT(*) AS numerolibri FROM tab_mylib WHERE myl_userid = '1' "); $testo_libri .= "$this[numerolibri]"; I obtain this error: Quote:
|
Try:
PHP Code:
|
Yeahhhh now it works!
I add some keywords for future searches: query postbit postbit plugin query postbit_display_complete |
All times are GMT. The time now is 05:04 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:
|