CodeIgniter Forums

Full Version: can a controller with index() have further characters in the URI?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


I need my index() function in my contract controller to answer the following url:

15 being the contract ID.

This works with non index() functions.

El Forum

use it like index function parameter index($x = 0)

and change you link to

here the index is the function name, 15 is your input item.

El Forum

Brilliant.. makes perfect sense!