[eluser]Unknown[/eluser]
Hi all,
I currently have a web form looking like this;
Code:
<form>
Username: <input type="text" disabled="disabled" value="' . $data['username'] . '"/> </br>
First Name: <input type="text" value="' . $data['firstName'] . '"/> </br>
Last Name: <input type="text" value="' . $data['lastName'] . '"/> </br>
Email Address: <input type="text" value="' . $data['email'] . '"/> </br>
Enabled: <input type="checkbox" value="' . $data['enabled'] . '"/> </br>
Admin: <input type="checkbox" value="' . $data['admin'] . '"/> </br>
</form>
I would now like to add a submit button to this and allow users to update their details as they see fit.
Is there any documentation on how this should be achieved? I'm aware of how to do it the old PHP\MySQL way, but not through CI!
Any guidance would be appreciated.
Thanks