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:
Fatal error: Cannot use object of type vB_Postbit_Post as array in /var/www/web157/html/forum/includes/class_postbit.php(293) : eval()'d code on line 18
|