I have a small problem. I am working with some manual testers who are untrained in programming/database design. Our current process means that these manual testers need to i
You should do something like this:
Form:
search.php
";
// Comma separated
$words = explode(",",$_POST['words']);
foreach ($words as $word)
{
$sql = "SELECT COLUMN_NAME FROM ".$database_name.".INFORMATION_SCHEMA.COLUMNS
WHERE COLUMN_NAME LIKE '%".$word."%'";
$res = mysqli_query($link,$sql);
while ($row = mysqli_fetch_assoc($res))
{
print "".$row['COLUMN_NAME']." ";
}
}
print "";
?>