1
0

dT# Veuillez saisir le message de validation pour vos modifications. Les lignes

This commit is contained in:
Daniel Tartavel 2019-09-01 22:54:10 +02:00
parent 12f68377d6
commit ca8bdcb4b1

View File

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