Category: PHP


How to show debug output in browser console in php?

While debugging php code we might need to use print_r() or var_dump() functions with exit or die, as in following code but by following code page will not render completely because exit or die...


How to get controller name and method name in codeigniter?

Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. Following codeigniter...


How to hide notices and warnings in php?

You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site, I added following code in index.php file and it works.