Please ignore the title…
I have a template engine which will display articles(from database) however, I have many articles, each with its own page (article_title.php, title_2.php, etc…) And all I have in each page is a PHP code for the template engine and the code to retrieve the article from the DB.
DB Table - The Idea:
| Article Name | Article |
| article_title.php | Blah, blah blah…|
| title_2.php | Blah, blah blah… |
Is there anyway that I can define one file to be my main file and use htaccess to “include” that main file and tell it to retrive according to the file name.