From 97471a0f7cf751710e6c0a6ddf5add07febf7cbf Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 3 Jul 2007 07:00:51 +0000 Subject: [PATCH] Refactor operator change git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@16 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- select.inc.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/select.inc.php b/select.inc.php index 9deea4b0..2066aba2 100644 --- a/select.inc.php +++ b/select.inc.php @@ -23,16 +23,23 @@ foreach ((array) $_GET["where"] as $val) { if ($val["col"] && in_array($val["op"], $operators)) { $where[] = idf_escape($val["col"]) . " $val[op]" . ($val["op"] != "IS NULL" ? " '" . mysql_real_escape_string($val["val"]) . "'" : ""); echo ""; - echo ""; + echo ""; echo "
\n"; $i++; } } -if ($i) { - echo "\n"; +?> + +" . optionlist($columns, array(), "not_vals") . ""; -echo ""; +echo ""; echo "
\n"; //! JavaScript for adding next //! fulltext search