CodeIgniter: Choosing a Data From GETTag: CodeIgniter, framework, mvc, database, GET Category: PHP Frameworkpost: 26 Jan 2008 read: 2,379 CodeIgniter Step By Step Tutorial: At previous tutorial, we learn show a data. But we have define ID that we want to show. In this post, we learn how to show a data that ID defined from GET. For model: Open "employee_model.php" within CodeIgniter\system\application\models. Add following function:
For Controller: Open "employee.php" within CodeIgniter\system\application\controllers. Add following function:
Now, test it. Point your browser to http://localhost/CodeIgniter/index.php/employee/get/2.
|
| | Give Your Opinion | Recommend |
|
1 Responses to CodeIgniter: Choosing a Data From GET:
This document was written perfectly well! It is concise, direct-to-the-point, and consistent. Also, the visual aids are very helpful. I personally think that the author is gifted in communicating knowledge.
By Jong on May 21, 2008




