Well, if you added values to your options, such as:
<SELECT NAME="Button" SIZE=3>
<OPTION value="1"> table1
<OPTION value="2"> table2
<OPTION value="3"> table3
</SELECT>
You could use a [man]switch/man statement to query the appropriate table:
if(isset($_POST['Button'])) {
switch($_POST['Button']) {
case '1':
$tablename = 'table1';
break;
case '2':
$tablename = 'table2';
break;
default:
$tablename = 'table1';
break;
// the default clause will be matched if none of the above
// conditions were met (bad "OPTION" value, or they manually
// tried to insert a different number)
}
$query = 'SELECT * FROM ' . $tablename . ' WHERE foor="bar"'; // example query
}