![]() |
using Plugin to display SQL result in postbit
All I need is to display a value return from SQL in the Postbit.
I use a plugin to hook into the postbit_display_start using <?php $post_reps=$db->query_first("SELECT COUNT(userid) as countrep FROM " . TABLE_PREFIX . "reputation WHERE postid = " . $postid ); $rep_given = $post_reps['countrep']; eval('print_output("' . fetch_template('postbit') . '");'); ?> but the page is totally blank. Can anyone please help me? Thanks problem temporary solved. |
All times are GMT. The time now is 12:34 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:
|