[eluser]maria clara[/eluser]
[quote author="theprodigy" date="1265628223"]$data['id'] is not getting populated because your savecompany_details($id) function in your model is not returning anything.
As for $_POST['id'], I'm not sure why it's not populated. Is it maybe supposed to be auto-incremented in the database and therefore not supposed to be filled in the $_POST array?[/quote]
yeah you're right it should be/ was really auto-incremented.