Codeigniter Debug Function

**if you have Xdebug, please use it instead.

1. Create a new file name debug_helper.php in /applications/helpers

2.Put this code into the file.

http://pastebin.com/H6Jv9Thq

3. Now you can use <?php echo dump($array); ?>

4. Dont forget to load the helper. $this->load->helper(‘debug’);

blog comments powered by Disqus