[eluser]vincej[/eluser]
OK - I have the ID's coming in, in the correct spot - my bad !
Code:
<tr align="center">
<td width="100" align="center"><?php echo $item['locationid']. form_hidden('locationid[]', $item['locationid']);?></td>
<td width="100" align="center"><?php $data = array('name'=>'location', 'size'=>20,'value' => $item['location']); echo form_input($data); ?></td>
<td width="100"><?php $data = array('name'=> $theIDs[0],'size'=>15,'value' =>(strftime("%d %b %Y",$theDates[0]))); echo form_input($data);?></td>
<td width="100"><?php $data = array('name'=> $theIDs[1],'size'=>15,'value' =>(strftime("%d %b %Y",$theDates[1]))); echo form_input($data);?></td>
<td width="100"><?php $data = array('name'=> $theIDs[2],'size'=>15,'value' => (strftime("%d %b %Y",$theDates[2]))); echo form_input($data); ?></td>
<td width="100"><?php $data = array('name'=> $theIDs[3],'size'=>15,'value' => (strftime("%d %b %Y",$theDates[3]))); echo form_input($data);?></td>
<td width="150"> <?php echo anchor('admin/pickup_detail/deletelocation/'. $item['location'], 'Delete');?></td>
</tr>
Now I have to fix my model.