[eluser]slowgary[/eluser]
Makes sense. I'm still wondering why there was no error from attempting to load the model uncapitalized. I was under the impression it mattered, apparently not.
Jedd's model code:
Code:
function get_all_students()
{
//Query the data table for ALL STUDENTS
$query = $this->db->select('students.*, parents.fname, parents.lname')
->join('students_parents', 'students_parents.student_id = students.student_id')
->join('parents', 'students_parents.parent_id = parents.parent_id')
->order_by('students.lname, students.fname')
->get('students');
return ($query->num_rows() > 0)? $query->result_array() : FALSE;
}