I'm looking for the best way to input data into different databases. Right now I've got a page with a drop down menu that asks what database they want to enter into, then that page takes you to a form page that has where you can type information. The problem I'm having is that the if statement is not working correctly. 

```
<form action="test.php" method="GET"> 
<select name="dropdown"> 
<option value="a">Database1</option> 
<option value="b">Database2</option>  
<input type="submit">
</select> 
</form> 

 <?php
   if(isset($_GET['dropdown']) && $_GET['dropdown'] === 'a'){
      include 'test.php';
    }  else if($_GET['dropdown'] === 'b'){
       include 'Test2.php';
   }
 ?>

```

Regardless of whether I click `Database1` or `Database2` I still land on the first test page. Now, I'm assuming this is because the action of the drop down is the first `test.php` page, but I'm not sure what I need to change that to in order to incorporate all 3 options. 

I feel like even if I get this to work, there has got to be a more efficient way to do this. Maybe a single page where I can have the user choose from the drop down menu, and then whatever data he enters will be sent to the correct data base.