Is there a way to select everything in a database table where every column is equal to a value?
Suppose I have this table:
+-----------------------------+
| people |
+-----------------------------+
| id | name |address| age |
+------+------+-------+-------+
|1 |Arnold| USA | 31 |
|2 |Andeng| PHI | 18 |
|3 | Bea | UK | 52 |
+------+------+-------+-------+
and the SQL statement would be like:
SELECT id, name, address, age
FROM people
WHERE id, name, age, address LIKE '%$value%'
I do hope you get what I mean.