Welcome Guest, Not a member yet? Register   Sign In
How to proceed an array post input
#2

[eluser]Irfan Cikoglu[/eluser]
Code:
foreach ($this->input->post( 'obat' ) as $key => $val) {
    $objects  = $this->input->post( 'jumlah' );
    $objectdo = $this->input->post( 'dosis' );
    $resep .= $val . '||' . $objects[$key] . '||' . $objectdo[$key] . '{}';
}

I tried this and it works Wink


Messages In This Thread
How to proceed an array post input - by El Forum - 07-08-2011, 02:49 AM
How to proceed an array post input - by El Forum - 07-08-2011, 10:03 AM
How to proceed an array post input - by El Forum - 07-08-2011, 10:25 AM
How to proceed an array post input - by El Forum - 07-08-2011, 10:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB