CodeIgniter Forums
Problems understanding the use of GET - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Problems understanding the use of GET (/showthread.php?tid=10651)



Problems understanding the use of GET - El Forum - 08-07-2008

[eluser]Tommy_DK[/eluser]
I have a newbie question, that I presume can be answered with a link... I just can't seem to find it Smile

The CI Framework seems great but what if I would like to add a parameter? Ex. extend http://localhost/CodeIgniter/user/ to http://localhost/CodeIgniter/user/125/ where 125 is the id of the user.

How do I do this while preserving the way CI works?


Problems understanding the use of GET - El Forum - 08-07-2008

[eluser]usmc[/eluser]
Read under the heading Passing URI Segments to your Functions

And a bit more here:
http://ellislab.com/codeigniter/user-guide/libraries/uri.html


Problems understanding the use of GET - El Forum - 08-07-2008

[eluser]SpooF[/eluser]
It looks like your trying to by-pass the method?

Such as:

CodeIgniter:root
user:Controller
125:paramater


Problems understanding the use of GET - El Forum - 08-08-2008

[eluser]Tommy_DK[/eluser]
Thank you very much for your help, both - it's greatly appreciated Smile
I was looking for the two links usmc provided but was not sure what to look for.