escolher"; $result = mysql_list_tables($database); if (!$result) { echo "DB Error, could not list tables\n"; echo 'MySQL Error: ' . mysql_error(); exit; } $num_rows = mysql_num_rows($result); if ($num_rows >0){ while ($row = mysql_fetch_row($result)) { //$selected = ""; $strOpcoes .= ""; } } mysql_free_result($result); mysql_close(); return $strOpcoes; } ?>