siguro gawa ka nalang ng table na nag hahandle nung seat number and reservation status, then upon generating HTML, lagyan mo ng condition if that seat is already reserved.
example: you have a table in you database na parang ganito
then create the HTML table and add a conditional statement.
I think the basic implementation would be like this.
HTML:
<table>
<!--- loop ka sa list ng seats --->
<tr>
<!--- check mo kung ung seat na un is reserved (e.g: if ($is_reserved == 1)) --->
<td>Reserved</td>
<!--- else: --->
<td>Available</td>
<!--- end condition --->
</tr>
<!--- end loop here --->
</table>
siguro gawa ka nalang ng table na nag hahandle nung seat number and reservation status, then upon generating HTML, lagyan mo ng condition if that seat is already reserved.
example: you have a table in you database na parang ganito
then create the HTML table and add a conditional statement.
I think the basic implementation would be like this.
HTML:
<table>
<!--- loop ka sa list ng seats --->
<tr>
<!--- check mo kung ung seat na un is reserved (e.g: if ($is_reserved == 1)) --->
<td>Reserved</td>
<!--- else: --->
<td>Available</td>
<!--- end condition --->
</tr>
<!--- end loop here --->
</table>