⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Display $post_array?



Abid Rizvi
  • profile picture
  • Member

Posted 06 July 2015 - 04:53 AM

I want to see $post_array and its content before insert?

Please tell me the correct and easiest way. I have seen in this forum but found no satisfied answer of this thread.


Paul Savostin
  • profile picture
  • Member

Posted 06 July 2015 - 10:05 AM

Hi!

1)where you can get $post_array? - in callback_method_before_insert

2)How it would be output - ( by clicking Save button - on the same page (show $post with ajax), by click Save and Return to the list - on the new one (send data to the view)

So how and what for you want to see $post_array ?

 


Abid Rizvi
  • profile picture
  • Member

Posted 07 July 2015 - 06:56 AM

Please elaborate more on

 

(show $post with ajax)


Paul Savostin
  • profile picture
  • Member

Posted 07 July 2015 - 08:38 AM

For what purpose you need to see post array? Just answer pls.

If for debugging, then use Firebug and Firephp - http://sideshowcoder.com/post/16291316671/firephp-and-codeigniter-2  or http://insfilo.com/blog/using-firephp-helper-debugger-codeigniter