Hi - I would like to find an example where a form in expression engine submits to a code igniter form, which then in turn submits to a custom table in the EE database. Where can I find this info? Here’s what I’m trying to accomplish:
FORM:
<form action="controller_url.php" method="post">
<tr>
<td><input type="text" name="user[0][name]" value=""></td>
<td><input type="text" name="user[0][address]" value=""><br></td>
<td><input type="text" name="user[0][age]" value=""></td>
<td><input type="text" name="user[0][email]" value=""></td>
<td><button>SUBMIT</button></td>
</tr>
</form>
CONTROLLER:
foreach($_POST['user'] as $user)
{
$this->db->insert('mytable', $user);
}
