Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I was looking into CodeIgniter, and encountered the following problem:

In codeigniter, you could create a new controller like this:

class People extends Controller {

function index() { ... }

function profile() { ... }


Then I could call for example the URL and the
profile() function would be executed, where I can use the userid passed
in the last URL segment to look up personal data.

However, I prefer working the other way around, and call the URL /. How could I
manage this?

Re: CodeIgniter

Gerry Vandermaesen wrote:
Quoted text here. Click to load it


Have you looked into routing?

By the way, you'll find all the answers you need on CI's forum:

--Mr. Wilson

Site Timeline