Hey, first I use SQL + PHP the type of DB is MYSQL.
I have a column with the many strings, but I want to search the string 08/08/10 if it exists 5 times for example in the column, how do I do it?
** If I will do:
SELECT * FROM x WHERE y LIKE '%08/08/10%'
Maybe it exists, but I don’t know if 5 times..
Thank you very much!
fetch rows where the string exists at least once and use php (e.g. substr_count) to count occurrences.
it also may help to tell us more about your problem – maybe there are better ways to structure the database