From c185b6e477826e9890303f536b5bd51398a89059 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 9 Jul 2007 22:23:11 +0000 Subject: [PATCH] Hide create modifiers git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@91 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- view.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view.inc.php b/view.inc.php index d72359b5..601e5058 100644 --- a/view.inc.php +++ b/view.inc.php @@ -1,3 +1,3 @@ " . htmlspecialchars(mysql_result(mysql_query("SHOW CREATE VIEW " . idf_escape($_GET["view"])), 0, 1)) . "\n"; +echo "
" . htmlspecialchars(preg_replace('~^.* AS ~U', '', mysql_result(mysql_query("SHOW CREATE VIEW " . idf_escape($_GET["view"])), 0, 1))) . "
\n";