title: How to fetch products from Database using codeigniter framework
body: <p>I am developing а website for online shopping using CodeIgniter framework.</p>
  
  <p>I am able to fetch a category, and when I click on a category id it will redirect to another page where I want to display all the data from the database related to that category. </p>
  
  <p>How can I fetch data from database using CodeIgniter framework?</p>