i really need help..

i want to have a realistic bus seating reservation like in some airline reservation we have today... not just like using ordinary tables with rows and columns...

i dont know how and where to start..

please help..

First of all: seats are usually displayed as squares. It so happens to be that table cells are also squars. Thats why it's so easy to use a table to show seats.

If you want a more realistic map of a bus, you will first need to make a ground plan of the seats, in which the seat-numbers are put. Then you are able to just simply create a select input into your form which has the seat numbers that are available as options, and put the image of the seats below the input.

A small example:

<table>
<tr>
<td>
Please select a seat, the seat numbers are shown in the groundplan below:<br />
<select name="seat">
<option value="1A">1A</option>
<option value="1B">1B</option>
<option value="1C">1C</option>
</select><br />
 (the seats that are already taken will not be shown in the dropdown list)
</td>
<td>
<img src="bus_groundplan.jpg" alt="Groundplan" border="0" />
</td>
</tr>
</table>

! G

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.