• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get URI segment returns nothing.... [RESOLVED]

#8
[eluser]Frychiko[/eluser]
[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


Messages In This Thread
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 09:17 AM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 10:40 AM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 10:49 AM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 01:47 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 01:50 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 01:53 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 05:25 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 05:27 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 05:34 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 06:00 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-30-2008, 06:11 PM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-31-2008, 12:41 AM
Get URI segment returns nothing.... [RESOLVED] - by El Forum - 07-31-2008, 01:00 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.