title: Display the page title dynamically
body: <p>I've an existing CodeIgniter Application with lot of pages where all the page titles( h1 tag ) are hard coded in the views. Now <strong>I'm looking to populate the titles dynamically from the below table structure with as much less effort as possible</strong>.</p>
  <pre><code>CREATE TABLE `page_title` (
    `id` int(11) NOT NULL,
    `page_no` tinytext NOT NULL,
    `page_title` varchar(255) NOT NULL,
    `date` tinytext NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  ALTER TABLE `page_title`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  </code></pre>
  <p>Need suggestion on how to display the title with a good approach. I was thinking to create a common model and call the model in the view with page_id pass to get the page_no and page_title for that id.</p>