For some reason when a reply is posted to: http://laravel.io/forum/03-11-2014-how-to-get-secure-rout...
You may want to enable debug from app.php if you havent already and take a look at the latest log fi...
You may want to consider raw expressions. Check it out at: http://laravel.com/docs/queries#raw-expre...
you may also search the API docs at: http://laravel.com/api/4.1/
I would recommend filtering with a where statement, like so: $items = Model::where('nric', '=', $nri...
The Laravel portal for problem solving, knowledge sharing and community building.