2014-02-14, 08:31 PM
Ok I hope I can explain what I want to do well enough to get it done. I'm having a hard time understanding this. I'm good with php but for some reason I'm burnt from this project.
OK here we go. In the picture attached I need to fill in the Present and Absent fields.
The data can come from anywhere but right now it's coming from a table I created called mybb_attendance. I can add the data externally no problem as this is a small part of what I'm accomplishing. Just need the display.
I have read and read and I still understand the hooks, display variables but like I said this is small part of my overall project and I'm just getting worn out.
Any help is appreciated. Thanks!
**EDIT!!***
Here is some more information and a really bad attempt.
forumbit_depth2_forum template
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">
$query = $db->simple_select("forums", "*", "fid=15"); $present = $db->fetch_field($query, "present");
echo $present;
</td>
this just shows everything in the <td> that's not prefixed with a $.
OK here we go. In the picture attached I need to fill in the Present and Absent fields.
The data can come from anywhere but right now it's coming from a table I created called mybb_attendance. I can add the data externally no problem as this is a small part of what I'm accomplishing. Just need the display.
I have read and read and I still understand the hooks, display variables but like I said this is small part of my overall project and I'm just getting worn out.
Any help is appreciated. Thanks!
**EDIT!!***
Here is some more information and a really bad attempt.
forumbit_depth2_forum template
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">
$query = $db->simple_select("forums", "*", "fid=15"); $present = $db->fetch_field($query, "present");
echo $present;
</td>
this just shows everything in the <td> that's not prefixed with a $.