Your problem is that you are relying on someone else to tell you how this works.
First when you come to this page you don't have any value in $dropdown, so your line $dbtable = $dropdown will cause an error when you have it uncommented.
Second in your code you have an if..else..elseif structure. This is completely wrong. You can have as many elseif's as you want, but you can only have one else and it has to come at the end of your block (if..elseif..elseif...else).
I would suggest that you change your if (!$dbtable) line to be something alot more readable like.
if (!isset($dropdown)) {
$dbtable = "phpa";
}
else
{
$dbtable = $dropdown;
}
That will set your $dbtable to be "phpa" unless $dropdown has something in it. If you are paranoid (and you probably should be) you can add data validation to your $dropdown variable in the else section.