[eluser]Philipp Gérard[/eluser]
[quote author="Bionicjoe" date="1277994527"]using this method "$_POST['servicename'] = $data['servicename'];"
Code:
Array (
[outageid] => 2
[ticketnumber] => INC000000000002
[servicename] => H
[location] => L
[impact] => 5000
[starttime] =>
[endtime] =>
[summary] => Sample Ticket 2
[details] => Some details...
)
Using this method "$data = $this->input->post('serviccename');"
Code:
Array (
[outageid] => 2
[ticketnumber] => INC000000000002
[servicename] => Array ( [0] => Video [1] => HSI )
[location] => Array ( [0] => Columbus [1] => Lexington )
[impact] => 5000
[starttime] =>
[endtime] =>
[summary] => Sample Ticket 2
[details] => Some details...
)
[/quote]
Post $_POST using none of the above faulty methods.
function your_function()
{
print_r($_POST);
die;
}