From 12f68377d643afd5fed3d2397e539f9d9c2ba202 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 22:30:16 +0200 Subject: [PATCH] DT --- findindb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findindb.php b/findindb.php index 170b389..bd65e40 100755 --- a/findindb.php +++ b/findindb.php @@ -16,7 +16,7 @@ while( $table = $db1->result->fetch_assoc()) $columns = $db2->result->fetch_all(); foreach($columns AS $key=>$s) { - echo "column " . $s . "\n"; + echo "column " . $s[0] . "\n"; if (array_search($string, $columns) !== false) { echo "column " . $s . " => " . "$key\n";