php - How to match entries that have commas?

Solution:
This is not a recommended practice as it forces the database engine to inspect all rows of your table. It's better to create a permission table where each user that has access to a note are listed separately (make sure to also index the user column).
If you really REALLY have to, you can use theLOCATE
string function (assuming MySQL): http://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_locate
Of course,LOCATE
has issues too because it doesn't care about comma delimited stuff, so the "better" approach might beREGEXP
: http://dev.mysql.com/doc/refman/5.5/en/regexp.html#operator_regexp
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: unable to determine current zabbix database version: the table "dbversion" was not found.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.