codeigniter query Profiling - To enable the profiler

Sure, here are the steps to enable the profiler in CodeIgniter query profiling:

  1. Open the CodeIgniter configuration file located at application/config/config.php.
  2. Find the line that says $config['enable_query_strings'] and set it to TRUE.
  3. Create a new controller method to activate the CodeIgniter profiler like this:
    public function enable_profiler() {
  1. You can now call the enable_profiler method in your controller to enable the profiler for the particular page you want to profile.