mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Display Auto Increment
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1101 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -14,7 +14,7 @@ if ($result) {
|
||||
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . "<td>" . lang('Comment') . "</thead>\n";
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
echo "<tr><th>" . h($row["Field"]);
|
||||
echo "<td>" . h($row["Type"]) . ($row["Null"] == "YES" ? " <i>NULL</i>" : "");
|
||||
echo "<td>" . h($row["Type"]) . ($row["Null"] == "YES" ? " <i>NULL</i>" : "") . ($row["Extra"] == "auto_increment" ? " <i>" . lang('Auto Increment') . "</i>" : "");
|
||||
echo "<td>" . nbsp($row["Comment"]);
|
||||
echo "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user