db->where('poll_code', $row['poll_code']);
$polls = $this->db->count_all_results('poll_response');
$array = ( explode(',' , $row['options']));
$questions = count($array)-1;
$op = 0;
for($i = 0 ; $i
db->group_by('poll_code');
$po = $this->db->get_where('poll_response', array('poll_code' => $row['poll_code']))->result_array();
foreach($po as $p):
?>
db->where('answer', $array[$i]);
$res = $this->db->count_all_results('poll_response');
?>
/100%