Welcome Guest, Not a member yet? Register   Sign In
How to add dynamic content?
#1

[eluser]Frunkie[/eluser]
Hey all,

How do I go about adding dynamic content on the fly? What I want to do is to add some data from a database and display it on the main index page.

If I have a URI like this: "http://site.com/test", I would want that to resolve back to the index controller instead of the test controller. It's kind of senseless to have to add a controller for each piece of dynamic content that I want to add.

How can this be done? I'm also using mod_rewrite instead of the CI package.

Thanks.
#2

[eluser]InsiteFX[/eluser]
Maybe this will help, read the CodeIgniter users guide...

redirect

Enjoy
InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB