Thread: drop down help
View Single Post
  #2 (permalink)  
Old 2008-03-20, 03:42 AM
strasm strasm is offline
Senior Member
 
Join Date: Dec 2004
Posts: 199
strasm is an unknown quantity at this point
Default

If I understand you correctly, you want to insert your data into different tables depending on the input from your dropdown menu. If this is right then what you are asking is really easy. On reservations.php simply change your insert query to be a little more dynamic.

Code:
$sql = "INSERT INTO `" . $_POST[number] . "` SET " .. you get the idea
Reply With Quote