Sorry, here is the code, which may make more sense than my original post...
$sql="SELECT * FROM seminars_dates";
if ($result=mysql_query($sql)) {
echo "<table class=\"data\" border = 1>\n";
echo "<tr><th>Date</th><th>Town/City</th><th>Speaker</th><th>Seminar Title</th><th>Tickets required</th></tr>\n";
while($row = mysql_fetch_array($result)) {
echo "<tr><td>" . $row['date'] . "</td><td>" . $row["heading"] . "</td><td>" . $row["speaker"] . "</td><td>" . $row["seminar"] . "</td><td> <select name='qty' value=".$row['id']."><option>Please Select</option><option value = '1'>1</option><option value = '2'>2</option><option value = '3+'>3 or more</option></select></td></tr>\n";
}
echo "</table>";
}
?>
<p>
<input type="submit" name="btnSubmit" id="btnSubmit" value="Confirm Booking">
</p>
</form>
Abdul
|