07-30-2008, 05:27 PM
[eluser]Frychiko[/eluser]
[quote author="Iainco" date="1217454560"]
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[/quote]
The URI is completely blank
[quote author="Iainco" date="1217454560"]
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[/quote]
Code:
Missing argument $n
The URI is completely blank