Welcome Guest, Not a member yet? Register   Sign In
Form radio buttons will not validate, need help.
#11

[eluser]CroNiX[/eluser]
Depends on how you called it. If you were using this function:
Code:
public function survey_results()
{
  $name = $this->session->userdata('name');

  //needs to be an array to pass to the view
  $data['HygieneCount'] = $this->User_Model->count_hygiene_factor($name);

  
  $this->load->view('factors_survey/survey_results', $data);
}
Then in your 'survey_results' file, just
Code:
echo $HygieneCount;


Messages In This Thread
Form radio buttons will not validate, need help. - by El Forum - 05-09-2012, 08:19 AM
Form radio buttons will not validate, need help. - by El Forum - 05-09-2012, 09:41 AM
Form radio buttons will not validate, need help. - by El Forum - 05-09-2012, 10:10 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 09:53 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:06 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:28 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:33 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:38 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:39 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:41 AM
Form radio buttons will not validate, need help. - by El Forum - 05-10-2012, 10:50 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 07:14 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 09:21 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 09:26 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 09:30 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 09:44 AM
Form radio buttons will not validate, need help. - by El Forum - 05-11-2012, 09:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB