<?php if(isset($employees)) { ?> <form method="POST" action="<?=site_url('insertincrement') ?>" > <tbody> <?php foreach($employees as $row) { ?> <tr> <input type="hidden" name="employeeid[]" value="<?=$row['employeeid']?>"> <td><?=$row['employeename']?></td> <td><?=$row['fathername']?></td> <td><?=$row['gender']?></td> <td><?=$row['department']?></td> <td><?=$row['designation']?></td> <td> <input type="number" name="increment[]" class="form-control"> <input type="hidden" name="updateddate[]" value="<?=date('Y-m-d'); ?>"> </td> <td><input type="text" name="remarks[]" class="form-control"></td> </tr> <?php } ?> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td><button type="submit" class="btn btn-success btn-sm">Add Increments</button></td> </tr> </tbody> </form> <?php } ?>
action
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)