1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 22:30:16 +02:00
parent eb7a700019
commit 12f68377d6

View File

@ -16,7 +16,7 @@ while( $table = $db1->result->fetch_assoc())
$columns = $db2->result->fetch_all(); $columns = $db2->result->fetch_all();
foreach($columns AS $key=>$s) foreach($columns AS $key=>$s)
{ {
echo "column " . $s . "\n"; echo "column " . $s[0] . "\n";
if (array_search($string, $columns) !== false) if (array_search($string, $columns) !== false)
{ {
echo "column " . $s . " => " . "$key\n"; echo "column " . $s . " => " . "$key\n";