• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.