olivetreetech
Programmer
Is it possible to store evaluated / compiled code in a variable?
I'm using the phpBB built-in function assign_var_from_handle as follows:
Still in the loop I then do the following:
This way I can access each topicrow and get the corresponding data. But when doing the above I only get "1" returned when it should be a large section of data for each row.
Any help / direction is greatly appreciated.
I'm using the phpBB built-in function assign_var_from_handle as follows:
Code:
$thisPoll = $template->assign_var_from_handle_new('TOPIC_POLL', 'pollbox');
Still in the loop I then do the following:
Code:
$template->assign_block_vars('topicrow', array(
'ROW_COLOR' => $row_color,
'ROW_CLASS' => $row_class,
'FORUM_ID' => $forum_id,
'TOPIC_ID' => $topic_id,
'TOPIC_POLL' => $thisPoll));
This way I can access each topicrow and get the corresponding data. But when doing the above I only get "1" returned when it should be a large section of data for each row.
Any help / direction is greatly appreciated.