Thursday, 27 April 2017

CodeIgniter Post Dump

Some times at a time of developing form we find some difficulties what are the data POST from form action to verify we can use following var dump array to view the data.

        $post = array();
            foreach ( $_POST as $key => $value )
            {
                $post[$key] = $this->input->post($key);
            }
            var_dump($post); 
Ping your blog