Welcome Guest, Not a member yet? Register   Sign In
url values
#3

[eluser]theprodigy[/eluser]
by default, CodeIgniter is setup to use urls like:
Code:
http://domain.tld/controller/method/arg1/arg2/arg3/etc/etc

The documentation for the anchor tag that you are using can be found HERE.

This uses the url helper, so make sure you have that loaded first (either manually, or autoload).

In your config file, you can setup CodeIgniter to use a normal query string if you so choose. Information on that can be found HERE

To access the urls on the linked to page, you would use:
1. Method parameters (where each URL argument falls in line with a parameter in the method declaration - arg1 = first method parameter, arg2 = second parameter, etc),
2. Any of the options listed HERE, if using the default CodeIgniter configuration,
3. Or you can use the normal PHP $_GET way.


Messages In This Thread
url values - by El Forum - 12-11-2009, 01:13 PM
url values - by El Forum - 12-11-2009, 01:40 PM
url values - by El Forum - 12-11-2009, 01:52 PM
url values - by El Forum - 12-11-2009, 02:11 PM
url values - by El Forum - 12-11-2009, 06:07 PM
url values - by El Forum - 12-12-2009, 03:05 AM
url values - by El Forum - 12-12-2009, 03:09 AM
url values - by El Forum - 12-12-2009, 03:15 AM
url values - by El Forum - 12-12-2009, 03:25 AM
url values - by El Forum - 12-12-2009, 03:55 AM
url values - by El Forum - 12-12-2009, 03:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB