hello im doing a driving instructor website for my project, and a driving instructor enters his or her times of booking and the search below gets the results and displays them, but i want the user to be able 2select upto 2results and once they have selected them they click on a button called book which sends the selected date and time to the database table.
thank u
// Select database
mysql_select_db("", $connection)
or die("Cannot find DB");
// Retrieve the data
$result = mysql_query($sql, $connection);
// Loop through data and display
while($a_row = mysql_fetch_assoc($result))
echo "<tr><td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td>".
"<td style=\"color:Black\">".$a_row."</td></tr>";
// Close connection ! (please !)
mysql_close($connection);
?>