How use route in Codeigniter |
[eluser]weboap[/eluser]
ok in the 1st link you are looking for the article by id or month or whatever (12), and title (abc) in the databse. the basic idea is to have another column called for eg: slug in the article table populated at the entry point of the article, that will utilize url_title(); see http://ellislab.com/codeigniter/user-gui...elper.html like Code: $article_title = 'your article title'; then in reading time, you can look up the article by the slug , take the article title list it in an anchor or whatever with the link http://demo.com/your-article-title ... hope this help. |
Messages In This Thread |
How use route in Codeigniter - by El Forum - 05-11-2012, 10:45 PM
How use route in Codeigniter - by El Forum - 05-11-2012, 11:05 PM
How use route in Codeigniter - by El Forum - 05-12-2012, 06:13 AM
How use route in Codeigniter - by El Forum - 05-12-2012, 10:00 AM
|