I have this current code
<?php
do {
?>
<table>
<tr>
<td width='15'><img src="../Images/circle1.gif" name="<?php echo $row_rstAvailSeats['seat_number'];?>"></td>
<td width='15'><div align="right"><?php echo $row_rstAvailSeats['seat_number']?></div></td>
<td width='20'><?php echo $row_rstAvailSeats['row_num']; ?></td>
<td width='20'><?php echo $row_rstAvailSeats['block_id']; ?></td>
</tr>
</table>
<?php
} while ($row_rstAvailSeats = mysql_fetch_assoc($rstAvailSeats));
$rows = mysql_num_rows($rstAvailSeats);
if($rows > 0) {
mysql_data_seek($rstAvailSeats, 0);
$row_rstAvailSeats = mysql_fetch_assoc($rstAvailSeats);
}
?>
I am trying to use a set of images to book seats in a venue. When the user clicks on say 3 of the images(representing seats) they can then click a submit button, and the relevent details in the database will be updated.
Any suggestions
Karl