CodeIgniter Forums
valid_date 500 error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: valid_date 500 error (/thread-55191.html)



valid_date 500 error - El Forum - 10-13-2012

[eluser]Darker[/eluser]
Code:
function valid_date($date)
{
  $birth_day = $this->input->post('birth_day');
  $birth_month = $this->input->post('birth_month');
  $birth_year = $this->input->post('birth_year');
  if(checkdate($birth_month, $birth_day, $birth_year))
  {
    return true;
  } else {
    return false;
  }
}
I'm getting 500 error when doin this in MY_Form_validation.php

Help please, thanks Smile


valid_date 500 error - El Forum - 10-14-2012

[eluser]siptik[/eluser]
HI! You can see your error in a log file.