/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: elof.bigestans at gmail
  • Date: 2013-05-27 14:08:19 UTC
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: elof.bigestans@gmail.com-20130527140819-p6j84f9l71zxofyp
* Started work on the viewStudents functionality... So far, displaying users works and it outputs correct and standardized html. 
* Still plenty to do though.

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");