Help, pliz. :)
The situation is this: from the database I want to display all the entries under the value, for example, 6, this value can be stored in several DIFFERENT fields. So make a request?
Help, pliz. :)
The situation is this: from the database I want to display all the entries under the value, for example, 6, this value can be stored in several DIFFERENT fields. So make a request?
SELECT * FROM table WHERE row1=6 and row2=6 and ... rowN=6; list all the required fields.
or
SELECT * WHERE MATCH (text) AGAINST ('$find') SELECT * FROM `table` WHERE 6 in(`row1`,`row2`,`rowN`); Source: https://ru.stackoverflow.com/questions/398084/
All Articles