1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

Pass server in DB change

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@39 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2007-07-05 10:58:09 +00:00
parent 1265593a29
commit 2ca0179674

View File

@@ -36,7 +36,8 @@ H2 { font-size: 150%; margin-top: 0; }
<a href="<?php echo htmlspecialchars($SELF); ?>logout="><?php echo lang('Logout'); ?></a> <a href="<?php echo htmlspecialchars($SELF); ?>logout="><?php echo lang('Logout'); ?></a>
</p> </p>
<form action="" method="get"> <form action="" method="get">
<p><select name="db" onchange="this.form.submit();"><option value="">(<?php echo lang('database'); ?>)</option> <p><?php if (strlen($_GET["server"])) { ?><input type="hidden" name="server" value="<?php echo htmlspecialchars($_GET["server"]); ?>" /><?php } ?>
<select name="db" onchange="this.form.submit();"><option value="">(<?php echo lang('database'); ?>)</option>
<?php <?php
$result = mysql_query("SHOW DATABASES"); $result = mysql_query("SHOW DATABASES");
while ($row = mysql_fetch_row($result)) { while ($row = mysql_fetch_row($result)) {