4
4
/* Loads category names for menu */
5
5
function getTitles($user)
8
8
$this -> db -> from('Categories');
9
9
$this -> db -> join('StudentCourseRegistrations', 'Categories.courseID = StudentCourseRegistrations.courseID');
10
10
$this -> db -> where('StudentCourseRegistrations.username', $user);
11
12
/* $this -> db -> where('StudentCourseRegistrations.courseID', 'd1popcrn');
12
13
* Line is disabled for now because of testing purposes.
13
14
* Will be modified to be used with parameter in function.