I apreciate if someone can help
I have a simple batch form [attachment=0]Captura.JPG[/attachment]
with simple code that changes format of some fields
after debugging, all records seem to be updated but although is a indexed list of records i can't save it into table 😲
[attachment=1]Captura1.JPG[/attachment]
I have a simple batch form [attachment=0]Captura.JPG[/attachment]
with simple code that changes format of some fields
<?php
$i=0;
foreach($form->data['paper'] as $var){
$form->data['paper'][$i]['id']=$var['id'];
$form->data['paper'][$i]['rates']=implode("/",explode(",",$var['rates']));
$form->data['paper'][$i]['rate1']=implode("/",explode(",",$var['rate1']));
$form->data['paper'][$i]['rate2']=implode("/",explode(",",$var['rate2']));
$form->data['paper'][$i]['rate3']=implode("/",explode(",",$var['rate3']));
$form->data['paper'][$i]['rate4']=implode("/",explode(",",$var['rate4']));
$i++;
}
?>
after debugging, all records seem to be updated but although is a indexed list of records i can't save it into table 😲
[attachment=1]Captura1.JPG[/attachment]