Functions... |
[eluser]Unknown[/eluser]
How would I go about adding functions to a controller that receives in input? For example, my index function show the basic "project" page: "federal-building" is my project_name that gets sent. Code: function index($project_name) But when somebody clicks on an image, I want to launch: Code: function photo($photoid, $project_name) this url would be http://localhost:8888/website/project/fe...g/photo/1/ The $photoid would be 1 in this url. For some reason the function doesn't get hit when I use this url, how would I do something like this? |
Messages In This Thread |
Functions... - by El Forum - 08-13-2008, 05:31 PM
Functions... - by El Forum - 08-13-2008, 06:51 PM
|