/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/models/viewstudents.php

  • Committer: a11andoh
  • Date: 2013-05-28 09:50:28 UTC
  • mfrom: (109 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 115.
  • Revision ID: a11andoh@student.his.se-20130528095028-f2pybnwvms6yygsv
blurp

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
                /* Loads studentnames names for menu */
5
5
                function getStudents()
6
6
                {
7
 
                        $this -> db -> select('Users.userName');
 
7
                        $this -> db -> select('*');
8
8
                        $this -> db -> from('Users'); 
9
9
                        $this -> db -> where('Users.userType', 2); 
10
10
                        $this -> db -> order_by("Users.userName", "asc");