CodeIgniter Forums

Full Version: Page load from db
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hello,

I have a table in DB whose name "page".

Default, I write http://domain.com/something/ run Something "Controller", and load the Something "View".

When I write http://domain.com/something I would like run this script:
SELECT * FROM page WHERE page_title = 'something'
and view page_content from table.

In the above case that this can be solved?