how do I know which link has been clicked on web page? - CI newbie Q |
[eluser]Brian Dickson[/eluser]
As I'm learning CI / MVC OOP, I thought i'd learn how to replace my old procedural way of working at a simple level, before moving on to building applications proper. If I have a simple web page with say 5 links in a list for navigation, from what I've read in the CI documentation I would have a method for every link, which in a real life situation is probably unrealistic, and I'm sure nobody does it that way. so if I have this example menu on a page, what do I put in my controller and how do I know which link has been clicked? Code: <ul> I presumably wouldn't want to have a URI like: http://www.mysite/pageid=36 - for security reasons? Apologies if this is too noobie, I'm just trying to find my feet, and maybe the answer is soo obvious I can't see it right under my nose. |
Messages In This Thread |
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 01:53 AM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 03:24 AM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 07:25 AM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 08:33 AM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 11:17 AM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 04:29 PM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-25-2010, 11:13 PM
how do I know which link has been clicked on web page? - CI newbie Q - by El Forum - 06-26-2010, 02:29 AM
|