[eluser]Unknown[/eluser]
can we access the values the posted values in controller.
i have a view like below.
<form id="MainForm" method="post" action="helloworld.php">
<input type="text" name="Insert['name']" />;
<input type="text" name="Insert['fname']"/>;
<input type="submit" value="Insert"/>;
<?php
print_r($InsertedRecord);
?>
</form>
now in my controller i assign this
$data['InsertedRecord']=$this->input->post('Insert');
$this->load->view('helloworld',$data);
now when i want to access in view $InsertedRecord in view as i mentioned above i get below error.
i get Disallowed Key Characters when i click on submit button.
if there is any other way to get the values of inputs as array for insertmethode please provide the link.
regards,