Codeigniter profiler not showing INSERT and UPDATE queries

I am working on codeigniter 3.0 and need to print all requests on the page. I used this



But it doesn't work showing only SELECT queries.

Even I tried with HOOK but its still printing SELECT queries in log file. Can anyone help me?


source to share

1 answer

It seems like your INSERT queries are being processed after the profiler handler. Are you using AJAX perhaps? What are the log files? I haven't used them specifically for CodeIgniter. If you are using AJAX, the CodeIgniter Framework may not catch certain requests when we expect them.

I am assuming that INSERT queries are being executed, but if they are not, I will check this first.



All Articles