I'm now installing Grocery CRUD with Codeigniter following the manual: http://technet.webli...or-codeigniter/
However, when I do the step 5 to add codes in demo controller, I get these error information from http://localhost/<myproject>/index.php/demo/stud_management in my browser
"An uncaught Exception was encountered
Message: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file
Line Number: 18
Would you have any suggestion to solve this problem?