".$selectdbname.""; } else { $sql=$empire->query("SHOW DATABASES"); while($r=$empire->fetch($sql)) { if($r[0]==$selectdbname) {$select=" selected";} else {$select="";} $db.="".$r[0].""; } } db_close(); $empire=null; ?>