[eluser]the_unforgiven[/eluser]
[quote author="meigwilym" date="1328046405"]Check that the hidden field is inside the form elements.
Next, you can check what $_POST data is sent, by using
Your hidden field should be somewhere inside it. If it is, then try
Code:
var_dump($_POST['CustomerID');
var_dump($this->input->post('CustomerID'));
die();
[/quote]
I did the above and this is what i got when i viewed source.
array(0) {
}
<div>
<h4>A PHP Error was encountered</h4>
<p>Severity: Notice</p>
<p>Message: Undefined index: CustomerID</p>
<p>Filename: views/editclient.php</p>
<p>Line Number: 73</p>
</div>NULL
bool(false)