Welcome Guest, Not a member yet? Register   Sign In
Page load from db
#1

[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?




Theme © iAndrew 2016 - Forum software by © MyBB