07-30-2008, 10:49 AM
[eluser]iainco[/eluser]
I thought it worked so that the above function would output 10.
http://localhost/ci/manufacturer/edit/10 = Manufacturer.edit(10)
See "Passing URI Segments to your Functions" at http://ellislab.com/codeigniter/user-gui...llers.html
Iain
Code:
http://localhost/ci/manufacturer/edit/10
Code:
function edit($n) {
echo $n;
}
I thought it worked so that the above function would output 10.
http://localhost/ci/manufacturer/edit/10 = Manufacturer.edit(10)
See "Passing URI Segments to your Functions" at http://ellislab.com/codeigniter/user-gui...llers.html
Iain