Hello ,
i have a problem with [print_checkbox_row] when create multiple checkbox from array
Shows only one checkbox !
PHP Code:
$fantasy = $db->query_first("SELECT * FROM " . TABLE_PREFIX . " quiz_fantasy ");
// data in column "playerarray" : ahmed,mohamed,omar
$playerarray = explode(",",$fantasy[playerarray]);
// note : when print_r($playerarray);
// output : Array ( [0] => ahmed [1] => mohamed [2] => omar )
print_checkbox_row('This is a checkbox row', 'inputname', 2, $playerarray);