[Solved] How to get serial numbers dynamically? [closed]
remember to increase the number for each row. <?php $serial_no = 1; foreach ($seats as $seat) { ?> <tr> <td> <?php echo $serial_no++; ?> </td> <td> other markup here </td> <tr> <?php } ?> 4 solved How to get serial numbers dynamically? [closed]