CodeIgniter Forums
Displaying clickable query results in a list - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Displaying clickable query results in a list (/thread-27503.html)



Displaying clickable query results in a list - El Forum - 02-12-2010

[eluser]viisik[/eluser]
How do you code in CI the database query results, so that for example displaying cars in a list, while each car_id in the list is clickable and links to the detailed view of the car corresponding to the car_id

1) http://www.nettiauto.com/alfa-romeo/kaikki/ - general list

2) http://www.nettiauto.com/alfa-romeo/164/3005263 - detailed view

i mean how the model query looks like

and how many controllers are needed