Page load from db - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Page load from db (/showthread.php?tid=45635) |
Page load from db - El Forum - 09-29-2011 [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? |