Okay I think this is what you are trying to do:
Get all the tables in the database and make a drop down menu that holds the tables and some value.
IF SO, here is how you can achieve it.
$db = 'database'; //The name fo the datbase to get tables from
$tables = mysql_list_tables($db); //The variable that holds the list of tables
$results = mysql_fetch_array($tables); //Get the results
//Create a drop down menu
echo '<select>';
//Using while(), loop the result
while ($row = mysql_fetch_row($result))
{
echo '<option value="' . $row[0] . '">' . $row[0] . '</option>';
}
//End drop down html code
echo '</select>';
Hope it helps (and works).