but how can we put this with smarty.
I can not use it like this :
in xo-info.php :
$take = array(
'width' => '100%',
'color' => 'blue'),
);
in theme.html :
<{$take.width}>
how can it works ???
$take = array(
'width' => '100%',
'color' => 'blue'),
);
<{$take.width}>
width="100%"
color="red"
$result = $xoopsDB->query("SELECT pollID, pollTitle, voters, comment, answer, image FROM ".$xoopsDB->prefix("myquiz_desc")." WHERE qid='$qid' ORDER BY RAND()");