db->get_where('polls', array('poll_code' => $code))->result_array(); foreach($poll_info as $row): ?>
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->where('answer', $array[$i]); $res = $this->db->count_all_results('poll_response'); ?>
/100%
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->where('answer', $array[$i]); $res = $this->db->count_all_results('poll_response'); ?>
- .