CodeIgniter Forums

Full Version: Set variable on $this->input->post() function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to set array of data  on $this->input->post() like $_POST variable.How can i do this??
(02-07-2017, 06:35 AM)rupamhazra Wrote: [ -> ]Hi,

I want to set array of data  on $this->input->post() like $_POST variable.How can i do this??

Code:
$_POST = array(
 'foo' => 'bar'
);