[eluser]mhulse[/eluser]
Hi,
I am using jquery ajaxform plugin to post a form to a controller/view.
For some reason, when I run:
Code:
var_dump($this->input->post('base'));
I get this:
But when I run this code:
I get this:
Code:
array(1) {
["formfm"]=>
array(1) {
["formfm"]=>
array(1) {
[0]=>
array(3) {
["base"]=>
string(5) "eeeee"
["steps"]=>
string(0) ""
["submit"]=>
string(2) "Go"
}
}
}
}
As you can see, the posted "base" key is there.
What do you think I am doing wrong? Is this the expected behavior, of the input class, when posting a form via ajax?
I don't mind working with $POST directly, but I would like to use CI's built-in stuff for the sake of security and such.
Any tips and/or suggestions?
Thanks!
Micky