Just my personal life online !
Learn something today
View
<input name="myarray['username']" type="text" />
<input name="myarray['another_input']" type="text" />
Controller
$arrPost = $this->input->post('myarray');
print_r(arrPost);
Produces
array
( [username] => value,
[another_input] => another value
)
Print article | This entry was posted by admin on April 24, 2010 at 5:16 pm, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |