I have a SQL table which have a column named keywords
.
Table:
| id | keywords |
| 0 | music programming guitar |
Now i have an array like $array = array("boat", "water", "music");
.
My target is to select all columns which have at least one of the things from the array in the keywords
.
Sql-Query:
"SELECT * FROM table WHERE keywords IN ('".$array."')";
It returns nothing.